필터 지우기
필터 지우기

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 CenterFile Exchange에서 Aerospace Applications에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by