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?

Risposte (1)

Andy Bartlett
Andy Bartlett il 30 Apr 2021
Modificato: Andy Bartlett il 30 Apr 2021
Combination of add_block and delete_block commands should do the trick.

2 Commenti

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.

Accedi per commentare.

Prodotti

Release

R2020a

Richiesto:

il 30 Apr 2021

Commentato:

il 30 Apr 2021

Community Treasure Hunt

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

Start Hunting!

Translated by