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

7 views (last 30 days)
Is it possible to copy an entire area from one simulink model to another using simulink API?

Answers (1)

Monika Jaskolka
Monika Jaskolka on 10 Jun 2021
Simulink.SubSystem.copyContentsToBlockDiagram might be what you are looking for.
  1 Comment
Ajay krishna Vasanthakumar
Edited: Ajay krishna Vasanthakumar on 11 Jun 2021
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

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!