Doing many simulations in loop
显示 更早的评论
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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!