How to copy the content of a model to another model without closing the current model

10 ビュー (過去 30 日間)
Hello,
i want to take back up of the current model without closing
save_system('model','new_model') closes the model "model".
is there any way to copy the content of the simulink model ?
Thanks,
V. Ajay Krishna

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 6 月 23 日
  1. save_system() and then copyfile()
  2. Simulink autosave preference
  3. Simulink.BlockDiagram.copyContentsToSubsystem(), Simulink.SubSystem.copyContentsToBlockDiagram()
  2 件のコメント
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020 年 6 月 23 日
Hello Fangjun
can u explain it in detail ?
Thanks
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020 年 6 月 23 日
Thanks a lot it worked :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by