Replacing models in simulink

Hi, I have two models A and B. In model A, many subsystems are present and they are interconnected. In model B, only subsystems are present and they are not connected(Library). Model A is not linked to any library. Now, I want to copy the subsystems of model B and search and replace the subsystems present in model A. I am able to get the info about subsystems but I am unable to replace the blocks. replace_block is not helping much in this regard. Please help.
Thanks in anticipation Harsha

3 件のコメント

Kaustubha Govind
Kaustubha Govind 2012 年 7 月 16 日
How would you determine which subsystem needs to replaced by which library block? Any distinguishing feature? Like BlockType or the name?
Kaustubha Govind
Kaustubha Govind 2012 年 7 月 16 日
Also, what error do you receive with replace_block?
Harsha
Harsha 2012 年 7 月 23 日
Its solved.:) I used replace_block only and there was some link issue so it was not working.

回答 (0 件)

この質問は閉じられています。

製品

タグ

質問済み:

2012 年 7 月 16 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by