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

Réponses (0)

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Tags

Question posée :

le 30 Oct 2015

Modifié(e) :

le 30 Oct 2015

Community Treasure Hunt

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

Start Hunting!

Translated by