How to hide the inside implementation of the masked block in simulink library ?
28 ビュー (過去 30 日間)
古いコメントを表示
The inside of the masked block in simulink library can be made hidden by changing the attribute 'MaskHideContents' to off using the following command. set_param(gcb,'MaskHideContents','off')
However, it can be turned on by switching it to the original state. Is it possible to hide and lock the inside of the masked block permanently? After the delivery of the simulink library to the user, I don't want the contents of the masked block to be visible.
0 件のコメント
回答 (2 件)
Walter Roberson
2018 年 6 月 26 日
編集済み: Walter Roberson
2018 年 6 月 26 日
Create a protected model; see https://www.mathworks.com/help/rtw/ug/create-a-protected-model-using-the-model-block-context-menu.html and https://www.mathworks.com/help/simulink/ug/use-a-protected-model-in-simulation.html
Alternately, use Simulink Coder to generate code for the item.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Author Block Masks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!