How to reset parameters in a simuink block when a certain condition is met in the simulink loop
4 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
Is there any way to reset parameter in a simulink block when a certain condition is met in the simulink loop???
Please advice, thank you very much.
Regards
0 件のコメント
採用された回答
Kaustubha Govind
2012 年 3 月 12 日
It is not possible to change a block parameter based on the value of another signal. However, it is possible to perform a "reset" for some blocks' states - for example, the Integrator block by using its reset port.
2 件のコメント
Kaustubha Govind
2012 年 3 月 14 日
Yes, the set_param command needs to be run from the MATLAB command window. As for the use of relational operator blocks to reset parameters - I'm not sure how this is done. Could you provide more information about how you plan to implement this suggestion?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!