How to run Simulink and Matlab script run sequentially.
조회 수: 2 (최근 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
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!