How do I stop a simulation in Simulink from the MATLAB command window?
65 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 10 de Sept. de 2012
Editada: MathWorks Support Team
el 31 de Mayo de 2023
How do I stop a simulation in Simulink from the MATLAB command window?
Respuesta aceptada
MathWorks Support Team
el 31 de Mayo de 2023
Editada: MathWorks Support Team
el 31 de Mayo de 2023
You can use the following command at the MATLAB command prompt to stop a simulation in SIMULINK from the MATLAB command window:
set_param(gcs, 'SimulationCommand', 'stop')
For more information on what other simulatin commands you can use with SET_PARAM see the Using Simulink Guide here:
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!