Move a simulink block to a existing subsystem using matlab script

How to cut and paste a simulink block or move a simulink block from one subsystem to another subsystem using matlab script?

Answers (1)

Combination of add_block and delete_block commands should do the trick.

2 Comments

but the block is a dspace block and when I do this operation the link is disconnected between block and configurationdesk application
Hmm, ...
I suggest you reach out to dspace technical support.

Sign in to comment.

Categories

Products

Release

R2020a

Asked:

on 30 Apr 2021

Commented:

on 30 Apr 2021

Community Treasure Hunt

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

Start Hunting!