Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Answers (1)

Gabriel Delcros
Gabriel Delcros on 30 Jan 2017
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!