フィルターのクリア

how to write a nested for loop to run simulink based models for n number of iterations of gain values ?

2 ビュー (過去 30 日間)
for KA=1:5
for KR=1:5
simOut= sim('model_name');
theta; % to workspace out put
theta.Time; % step response run time
theta.Data; % step response (amplitude)
SI=stepinfo(theta.Data,theta.Time)
Ts=SI.SettlingTime % setting time
Mp=SI.Overshoot % over shoot
end
end

回答 (1 件)

djedoui Nassim
djedoui Nassim 2019 年 3 月 15 日
Can you give more details?

カテゴリ

Help Center および File ExchangeAerospace Applications についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by