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.
0 个评论
采纳的回答
Fangjun Jiang
2021-5-3
replace_block()
see examples in doc
3 个评论
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 Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!