Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Simulink modeling from the command line

2 visualizzazioni (ultimi 30 giorni)
lei
lei il 7 Ott 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
How can I run two simulink models with inf simulation time at the same time from the command line?

Risposte (1)

Ankit
Ankit il 7 Ott 2019
Modificato: Ankit il 7 Ott 2019
you can use following commands:
open_system({ 'model1name', 'model2name' });
set_param('model1name', 'StopTime', 'inf')
set_param('model2name', 'StopTime', 'inf')
  1 Commento
Walter Roberson
Walter Roberson il 7 Ott 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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by