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?

Antworten (1)

Andy Bartlett
Andy Bartlett am 30 Apr. 2021
Bearbeitet: Andy Bartlett am 30 Apr. 2021

1 Stimme

Combination of add_block and delete_block commands should do the trick.

2 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2020a

Gefragt:

am 30 Apr. 2021

Kommentiert:

am 30 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by