How to replace one subsystem with other ..

5 次查看(过去 30 天)
I have a unit model with some inports and outports .My task is to replace top level subsystem inside this unit model (except inports and outports) with another subsytem in another model using its path through mscript. Can anyone suggest me some sort of commands or a script through which I can accomplish this task.

采纳的回答

Fangjun Jiang
Fangjun Jiang 2021-5-3
replace_block()
see examples in doc
  3 个评论
Fangjun Jiang
Fangjun Jiang 2021-5-4
It works with subsystem block. Replace one subsystem block with another subsystem block. Of course, both blocks shall have identical ports.

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by