How to cut and paste any block using m scripting

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by