How to enable read only for protected models?

In the documentation "Protect Models to Conceal Contents" a screenshot is given under the subheader Protect the Referenced Model. In that Screenshot there is an option to enable the read only view of the model.
When I try to replicate the steps of the documentation this option is not available to me.
Do I have to enable it somehow ?

 Respuesta aceptada

Sivani Pentapati
Sivani Pentapati el 2 de Sept. de 2021
Editada: Sivani Pentapati el 2 de Sept. de 2021

0 votos

I understand that you want to create a protected model in Simulink, but the option to enable a read-only view of the model was absent. Please crosscheck with the Protected Model Requirements and Limitations section in this link and also ensure that the criterion in this link are met. Alternatively, it can also be done using the Simulink.ModelReference.protect function by setting the ‘Mode’ to ‘ViewOnly’ in the input arguments.

1 comentario

Matthias Menge
Matthias Menge el 6 de Sept. de 2021
Thanks for this answer.
When trying to protect a model using the MATLAB Comand it is revealed, that in order to create a 'ViewOnly' protected model a license of the Simulink Report Generator is needed.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 11 de Ag. de 2021

Comentada:

el 6 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by