MATLAB: How to merge cells together merge cells How do I merge cells together and separate each cell with a ';'? Best Answer Two alternatives, since I am not exactly sure what you want.a = num2cell(randi(10,10,10));your_mat = cell2mat(a);your_mat_alt = [a{:}]; Related SolutionsMATLAB: Find string ends with xls or xlsx str='abc.xlsx xls.m df.xls er.doc sd.xls' out=regexp(str,'\S+\.xlsx?\>','match') MATLAB: Reading data with Strcat and alternative range = sprintf('B%d:G%d', start_row, end_row); %where start_row and end_row are numericvariable = xlsread('Data.xlsx', 'Sheet', range);However it is confusing that you have something that looks like a range as a sheet name. Related QuestionFind index of cell containing strings from cell arrayHow to put two tables into oneSelecting and Manipulating Specific Elements from Cell Array
Best Answer