[Maximum Timing for Simulation]
3 ビュー (過去 30 日間)
古いコメントを表示
Binh Huynh Thanh
2019 年 2 月 1 日
回答済み: Binh Huynh Thanh
2019 年 2 月 3 日
Hi, I have a simulink model and I would to know that what is the maximum the timing value can be assigned for simulation ?
Maximum = ???
>> sim('modelName','StartTime','0','StopTime',Maximum,'FixedStep','0.01');
Thank you.
0 件のコメント
採用された回答
Mundrathi Venugopal
2019 年 2 月 1 日
I'm not sure about the maximum time that you can specify for a model.
However If you want to run the model continuously until you stop, you can assign the stop time as below.
set_param(bdroot,'StartTime','0','StopTime','Inf','FixedStep','0.01');
sim(bdroot);
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!