MATLAB: Xlswrite to import data from cell array xlswrite Hello, I have a matrix 'm' with 373 cell. each containting 2-d matrix of different size. I want to use 'xlswrite' to write the contents of each table on different sheets of the same file. Can someone please help me in this regard? Best Answer filename = 'MySpreadsheet.xls';for sheet = 1 : length(m) writetable(m{sheet}, filename, 'sheet', sheet)'end Related SolutionsMATLAB: How to sort big data into text file by writing Do not try to assign the result of writetable() to anything. writetable() does not have any output parameters. MATLAB: How to use XLSWRITE command to name a worksheet in a workbook in MATLAB You can pass a sheet name as the third parameter to xlswrite.xlswrite does not offer any method to rename sheets. Related QuestionIs it possible to create an excel file by MATLABHow to name an excel worksheet when using writetable
Best Answer