how to export data to excel for each iterations after four compound for loops?

1 次查看(过去 30 天)
I have set of codes in below format.
% variables /n for i= 0:0.2:1.0
% formula
for n=0:0.2:1.0
% formula
for l=0:0.25:1
% formula
for m=0:0.2:1
%formula
%formula
%formula
. . . . . . . . . .
Final = [x y z . . . . . . . . . . . . .];
end
end
end
end

回答(1 个)

Gabriel Delcros
Gabriel Delcros 2017-1-30
Hye, You may have to use xlswrite ;)
https://de.mathworks.com/help/matlab/ref/xlswrite.html?requestedDomain=www.mathworks.com
Enjoy!

Community Treasure Hunt

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

Start Hunting!

Translated by