I have a model and an associated library for subsystems that are used in multiple places. I have Block A which I have created which addresses a general case of some opperatasion, and needs the inputs to be processed a certain way depending on the use case.
I have a certasadin use case which is overwhelmingly common which I would like to create Block B to handle. This would be the custom logic for the case, and being fed into Block A. Is this possible to accomplish in a single library file? I want them to be linked, so that Block B will also be updated if Block A is changed.
Something like:
Block A Block B
----------- -----------------------
| Stuff | | Stuff -> Block A |
----------- -----------------------

 採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 4 月 20 日
編集済み: Fangjun Jiang 2020 年 4 月 20 日

0 投票

Yes. In the same library file, create A first, then drag and drop A to create B. Save file. Next, modify A, save file. See the A inside B changes.

1 件のコメント

Sean Franklin
Sean Franklin 2020 年 4 月 20 日
Thank you, works as described.
It was my previous understanding that this would have just created a duplicate.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Subsystems についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by