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

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

Answers (1)

Simulink.SubSystem.copyContentsToBlockDiagram might be what you are looking for.

1 Comment

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 :)

Sign in to comment.

Categories

Products

Release

R2018b

Community Treasure Hunt

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

Start Hunting!