Matlab - Simulink for cycle

How can I make simulation cycle in Simulink (started by command from matlab) with Fast Restart mode enabled with changing input parameters in Matlab before starting the simulation? - I need to set up just one variable from matlab before simulation, and after the simulation get 4 variables out

1 件のコメント

Janko Mrkva
Janko Mrkva 2016 年 3 月 17 日
編集済み: Fangjun Jiang 2016 年 3 月 17 日
for(i=1:10)
sim(model)
A=A/2; %variable I need to get to simulink
i=i+1;
end

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

質問済み:

2016 年 3 月 17 日

編集済み:

2016 年 3 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by