How to automatically reinitialize the model workspace when Run Simulink model

조회 수: 3 (최근 30일)
Hello,
Is there an easy way that your model workspace (i.e. data calculated from the m.file coupled to the Simulink model) is automatically calculated and loaded each time when you Run your Simulink model?

채택된 답변

Paul
Paul 2024년 2월 11일
Hi Steven,
Model workspaces can be manipulated programatically
In your workflow, create a model workspace object and use reload to reload the model workspace.
How this is done in your workflow depends on what the workflow actually is.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by