Simulink: Linked blocks without parent library?

1 回表示 (過去 30 日間)
Abhijit K
Abhijit K 2017 年 8 月 30 日
回答済み: Arnav Mendiratta 2017 年 9 月 6 日
Is it possible to have linked blocks without having to create a library? For instance, block X appears 4-5 times in my Simulink model. What I'd like to do is to link all these instances together (to each other) so that when I edit one, the change should apply to all instances.
As I understand, this should be done by creating a library file. I'm wondering if it is possible to avoid the overhead of creating (and managing / versioning / sharing) that additional file and having the block "links" in a single Simulink file.
I'm working with Matlab/Simulink 2015ASP1 if version is critical.

採用された回答

Arnav Mendiratta
Arnav Mendiratta 2017 年 9 月 6 日
Creating a library is possibly the best option for this use-case. However, you can also consider using Model References .
This link discusses advantage of using model referencing over other componentization techniques.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by