How to cut and paste any block using m scripting

Hello,
I need to cut a block connected before output of a subsystem and place it one level up, connected to same output block(outside the subsystem). How can we do it using m scripting. Consider using a gain block in this case.
I am able to locate this gain block connected to the outport but how do i move it outside the subsystem?
Kindly suggest. Would be a great help. Thank you!
Things tried: add_block

답변 (0개)

카테고리

도움말 센터File Exchange에서 Subsystems에 대해 자세히 알아보기

태그

질문:

2015년 10월 30일

편집:

2015년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by