How to replace one subsystem with other ..
조회 수: 7 (최근 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!