How to reset parameters in a simuink block when a certain condition is met in the simulink loop
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Kaustubha Govind
el 12 de Mzo. de 2012
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 comentarios
Kaustubha Govind
el 14 de Mzo. de 2012
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?
Más respuestas (0)
Ver también
Categorías
Más información sobre Subsystems en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!