I have a Table compose of string names (about 130+ names). Only 1 column.
BUT my excel file is Blank. no errors or warnings. just the output is BLANK.
please, can someone explain.
data=table; f=fieldnames(data); for k=1:size(f,1) xlswrite('name.xlsx',data.(f{k}),f{k}) end %also tried this code: writetable(table,'name.xls','Sheet',2)
Best Answer