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개)

Andy Bartlett
Andy Bartlett 2021년 4월 30일
편집: Andy Bartlett 2021년 4월 30일

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에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 4월 30일

댓글:

2021년 4월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by