How to run Simulink and Matlab script run sequentially.

1 次查看(过去 30 天)
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

回答(1 个)

Raymond Norris
Raymond Norris 2021-10-15
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.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by