how to import the result into excel file

i want to import the result into excel file.i use xlswrite command but i didnt get the data into excel

Answers (1)

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
%

Asked:

on 9 Feb 2021

Answered:

on 9 Feb 2021

Community Treasure Hunt

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

Start Hunting!