2017-04-10 73 views

回答

0

像这样的事情可能会为你工作:

C = cell(1,3); 
C{1,1} = rand(1,10); 
C{1,2} = rand(1,20); 
C{1,3} = rand(4,5); 
filename = 'myfile.xlsx'; 
xlswrite(filename,C{1,1},1,'A1:A11'); 
xlswrite(filename,C{1,2},1,'B1:B21'); 
xlswrite(filename,C{1,3},1,'C1:G5'); 

enter image description here