How do I create a Protected Model with tunable parameters?

6 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by