Change constant during simulation in Simulink
63 ビュー (過去 30 日間)
古いコメントを表示
I update my constants during simulation in following way: run simulation, stop, change const, run, stop and so on. But how can i do this programmatically? This is the picture what should be result.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153420/image.jpeg)
0 件のコメント
回答 (2 件)
Vincent Nicolazzo
2019 年 3 月 6 日
編集済み: Vincent Nicolazzo
2019 年 3 月 6 日
Check out this link. It's not the best method but it worked for me. I would run my simullation and change the value of the constant in the command window.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!