how to import the result into excel file

1 Ansicht (letzte 30 Tage)
sunitha
sunitha am 9 Feb. 2021
Beantwortet: Mathieu NOE am 9 Feb. 2021
i want to import the result into excel file.i use xlswrite command but i didnt get the data into excel

Antworten (1)

Mathieu NOE
Mathieu NOE am 9 Feb. 2021
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