フィルターのクリア

Add model to another model

5 ビュー (過去 30 日間)
Stephen
Stephen 2011 年 8 月 1 日
I guess this is the inverse of masking. I created a model file. I see this model in the model explorer. How do I add that model to another model, as a subsystem?

回答 (2 件)

Rick Rosson
Rick Rosson 2011 年 8 月 1 日
There are (at least) two different ways to do so.
The first is to create a sub-system from your model, and to store that sub-system in a custom Simulink library. You can then drag-and-drop one or more instances of your reusable sub-system into one or more other Simulink Models. For more information:
>> docsearch('"creating block libraries"');
The second is called "Model Reference". This approach is a bit more advanced than the first, and difficult for me to explain here on MATLAB Answers. Best thing is to check the documentation:
>> docsearch('"referencing a model"');
HTH.
Rick

Stephen
Stephen 2011 年 8 月 1 日
I found the first approach mentioned in Rick's email in the demo "Creating Libraries"
Thanks, Rick

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by