How can I control the simulation run time from m.file?
古いコメントを表示
I have both the smulation file and the m.file. I need to run the simulink based on values from the m.file. But I also need to control the run time of the simulink. And the control needs to be done from the m.file. Is there any command to control the simulink run time from m.file? If so, What would be th syntex of it?
3 件のコメント
Paul
2022 年 4 月 9 日
By "run time" do you mean the final time when the simulation stops?
ANANTA BIJOY BHADRA
2022 年 4 月 11 日
Paul
2022 年 4 月 11 日
Are you running the simulation from the .m file or command line using the sim() command? Or are you running the simulation by clicking the play button?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!