Toggle manual switch through m-file script
Mostrar comentarios más antiguos
I want to toggle the manual switch block in Simulink using an m-file script.
....my model file is called "ecg_filter" and the manual switch is called "sw1", so I wrote in the m-file: set_param('ecg_filter/sw1','varsize','off') but the switch did not change positions, what am I doing wrong?
I have already looked at the following answer at: http://www.mathworks.es/matlabcentral/answers/32167-controlling-manual-switch-through-m-file
1 comentario
Mohammed Manna
el 20 de Ag. de 2013
Good question!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!