Is it possible to copy an entire area from one simulink model to another?

4 ビュー (過去 30 日間)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2021 年 6 月 10 日
Is it possible to copy an entire area from one simulink model to another using simulink API?

回答 (1 件)

Monika Jaskolka
Monika Jaskolka 2021 年 6 月 10 日
Simulink.SubSystem.copyContentsToBlockDiagram might be what you are looking for.
  1 件のコメント
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2021 年 6 月 11 日
編集済み: Ajay krishna Vasanthakumar 2021 年 6 月 11 日
hello Monika,
This works well for subsystem, but i want to move the are from one simulink model to another. There will be many areas like the above example. I want to copy and paste it programtically in a particular position in another model
Thanks for your reply :)

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

カテゴリ

Find more on Programmatic Model Editing in Help Center and File Exchange

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by