Clear Filters
Clear Filters

how to import the result into excel file

1 view (last 30 days)
sunitha
sunitha on 9 Feb 2021
Answered: Mathieu NOE on 9 Feb 2021
i want to import the result into excel file.i use xlswrite command but i didnt get the data into excel

Answers (1)

Mathieu NOE
Mathieu NOE on 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!