How to reset parameters in a simuink block when a certain condition is met in the simulink loop
6 次查看(过去 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!