フィルターのクリア

How can I hide some library blocks in library browser

8 ビュー (過去 30 日間)
Pawel Blaszczyk
Pawel Blaszczyk 2011 年 8 月 18 日
Hello, I have a question: I have made a library and I want to register it (to use via library browser). Howevever some blocks in library is only for internal use and I would like to hide them - how can I do this? Is it a kind of parameter of subsystem defining if this block will or won't be visible in library browser?
Best regards, Pawel Blaszczyk
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2011 年 8 月 18 日
I don't know if this is possible, but why not maintain a separate library block for internal purposes that contains the private blocks and an empty block with an OpenFcn callback to open the public library?

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

採用された回答

Guy Rouleau
Guy Rouleau 2011 年 8 月 18 日
To hide or disable blocks and libraries in the Simulink Library Browser, you need to create an sl_customization.m file. The process is explained here:
In the sl_customization file, you will use cm.LibraryBrowserCustomizer.applyFilter and specify the block and its state (probably 'hidden' in your case)
  1 件のコメント
Pawel Blaszczyk
Pawel Blaszczyk 2011 年 8 月 19 日
thank you,
I will try it out in a moment

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

その他の回答 (0 件)

カテゴリ

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