how to import the result into excel file

1 次查看(过去 30 天)
i want to import the result into excel file.i use xlswrite command but i didnt get the data into excel

回答(1 个)

Mathieu NOE
Mathieu NOE 2021-2-9
hello
see 2 methods example below :
for k=1:10
xlswrite('Result.xlsx',rand(k),k); % option 1
writematrix(rand(k),'myData.xlsx','Sheet',k); % option 2
end
%

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by