Doing many simulations in loop
Show older comments
Hello,
Id like to make many simulations of my model with change of model parameters with each simulations. I wrote loop:
for k=1:20
run (path to model)
run (path to some model parameters)
WO_I = 7 + k // this is my parameter
sim (path to model) save(['symulacja_',num2str(k)])
clear all
end Unfortunately it doesnt work well, I want to simulate ten days with data record step of 1 hour. I set this values in one window but it doesnt simulate in that way.
Hope problem is easy to solve.Plz help.
Kamil
Answers (0)
Categories
Find more on Simulink 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!