Simulink: Linked blocks without parent library?

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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

질문:

2017년 8월 30일

답변:

2017년 9월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by