Help with saving contents of a run every 240 iterations
Show older comments
Hi there, I am solving an ODE problem with ode15s and at present am running the code for random initial conditions 240 times in one go (240 is just a number I choose since the .mat files were manageable for this number). My question is :
Is there a provision in matlab that I can instead of running 240 cases, run approx 10000 cases and store output of every 240 iterations in a seperate mat file?
Thanks
Answers (1)
Sean de Wolski
on 22 May 2012
if ~mod(iter,240)
save_stuff;
end
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!