Save runned simulink file

2 次查看(过去 30 天)
Jonas Heß
Jonas Heß 2022-6-4
Is there a possibility to save a already runned simulink file, so that i don't have to run it again, when i open it again?

回答(1 个)

Ayush Yadav
Ayush Yadav 2022-6-7
Hi,
You can try using save_system for saving your simulink model.
Also, you can refer the documentation of save_system to learn what all parameters it can take. For example:
% Save the model, save the model workspace, break links to user-defined library blocks,
% and overwrite if the file has changed on disk,
save_system('mymodel','mynewmodel','SaveModelWorkspace',
true,'BreakUserLinks',true,'OverwriteIfChangedOnDisk',true)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by