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?

回答(1 个)

Combination of add_block and delete_block commands should do the trick.

2 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by