How to run Simulink and Matlab script run sequentially.

2 visualizaciones (últimos 30 días)
daud rind
daud rind el 15 de Oct. de 2021
Respondida: Raymond Norris el 15 de Oct. de 2021
Hi!
Hope you are having a productive day.
I want to run a simulink model followed by MATLAB script .
To be more precise when the simulink model stops with its output,another matlab scripts stars running. right now when i run the model the scripts run in parallel how can i resolve this issue

Respuestas (1)

Raymond Norris
Raymond Norris el 15 de Oct. de 2021
How are you running the Simulink model, interactively or with the sim command? If you run the model with the sim command, that would block MATLAB from running anything else until completion of the model.

Categorías

Más información sobre Model, Block, and Port Callbacks en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by