How to Copy a block from libraray into simulink model?

Hello.. I have defined the mask initialization of subsystem that it copies a block from library (not Simulink standard library) number of times defined in mask parameter. Problem is if library has not been opened it fails. So I need to open the library first before using that subsytem. Is there any way so that I can avoid this and I can use the Subsystem defined above without opening its referenced library.
Thanks.....

回答 (1 件)

Albert Yam
Albert Yam 2012 年 8 月 8 日

1 投票

Add open_system at the top, and close_system at the bottom, to your mask.

カテゴリ

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

製品

質問済み:

2012 年 8 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by