How do I create a Protected Model with tunable parameters?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 23 de Mayo de 2017
Editada: MathWorks Support Team
el 27 de Nov. de 2019
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?
Respuesta aceptada
MathWorks Support Team
el 27 de Nov. de 2019
Editada: MathWorks Support Team
el 27 de Nov. de 2019
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!