Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Simulink modeling from the command line

1 Ansicht (letzte 30 Tage)
lei
lei am 7 Okt. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
How can I run two simulink models with inf simulation time at the same time from the command line?

Antworten (1)

Ankit
Ankit am 7 Okt. 2019
Bearbeitet: Ankit am 7 Okt. 2019
you can use following commands:
open_system({ 'model1name', 'model2name' });
set_param('model1name', 'StopTime', 'inf')
set_param('model2name', 'StopTime', 'inf')
  1 Kommentar
Walter Roberson
Walter Roberson am 7 Okt. 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

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by