How to replace one subsystem with other ..

8 ビュー (過去 30 日間)
Harsh kumar
Harsh kumar 2021 年 5 月 3 日
コメント済み: Harsh kumar 2021 年 5 月 6 日
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.
Harsh kumar
Harsh kumar 2021 年 5 月 6 日
it worked..Thanks for the help..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by