How do I create a Protected Model with tunable parameters?

6 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2017 年 5 月 23 日
編集済み: MathWorks Support Team 2019 年 11 月 27 日
I am trying to use Protected Models to conceal the contents of my model. The end user should have the ability to specify certain model parameters, for example, the Initial Condition of an Integrator block inside the protected model. The values should be entered using a Mask.
However, the workflow for this is not clear to me. Do you have an example for this?

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 11 月 27 日
編集済み: MathWorks Support Team 2019 年 11 月 27 日
The key to enabling tunable parameters for Protected Models is to define Model arguements. Refer to the attached ZIP file, which contains a full tutorial for creating a Protected Model with Mask and tunable model arguments.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by