Move a simulink block to a existing subsystem using matlab script

10 views (last 30 days)
How to cut and paste a simulink block or move a simulink block from one subsystem to another subsystem using matlab script?

Answers (1)

Andy Bartlett
Andy Bartlett on 30 Apr 2021
Edited: Andy Bartlett on 30 Apr 2021
Combination of add_block and delete_block commands should do the trick.
  2 Comments
Chaitanya Kanuri
Chaitanya Kanuri on 30 Apr 2021
but the block is a dspace block and when I do this operation the link is disconnected between block and configurationdesk application

Sign in to comment.

Categories

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

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!