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