Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Simulink modeling from the command line

2 visualizaciones (últimos 30 días)
lei
lei el 7 de Oct. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How can I run two simulink models with inf simulation time at the same time from the command line?

Respuestas (1)

Ankit
Ankit el 7 de Oct. de 2019
Editada: Ankit el 7 de Oct. de 2019
you can use following commands:
open_system({ 'model1name', 'model2name' });
set_param('model1name', 'StopTime', 'inf')
set_param('model2name', 'StopTime', 'inf')
  1 comentario
Walter Roberson
Walter Roberson el 7 de Oct. de 2019
However, you cannot sim() them both at the same time and have them both running. In order to do that, see https://www.mathworks.com/help/simulink/ug/running-parallel-simulations.html

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by