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에 대해 자세히 알아보기

질문:

2013년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by