フィルターのクリア

How do I hide the inside implementation of a block?

3 ビュー (過去 30 日間)
Simone Specchia
Simone Specchia 2019 年 2 月 19 日
回答済み: Pruthvi Muppavarapu 2019 年 2 月 22 日
I added a subsystem block to my library and I'd like to make the inside implementation of the block not visible outside the library.
I tried using set_param(gcb,'MaskHideContents','on'), but I can still open the subsystem in the Library Browser and see every block I used inside the subsystem.
I know you can use cm.LibraryBrowserCustomizer.applyFilter({'Library/Block','Hidden'}) to hide a block in the Library Browser, but is there a faster way to make every block contained in a subsystem not visible?

採用された回答

Pruthvi Muppavarapu
Pruthvi Muppavarapu 2019 年 2 月 22 日
You can try setting the Read/Write permission of the subsystem to NoReadOrWrite. You can know further about the NoReadOrWrite permission in the following documentation:
Hope this answers your question

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by