How to enable read only for protected models?

9 Ansichten (letzte 30 Tage)
Matthias Menge
Matthias Menge am 11 Aug. 2021
Kommentiert: Matthias Menge am 6 Sep. 2021
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 ?

Akzeptierte Antwort

Sivani Pentapati
Sivani Pentapati am 2 Sep. 2021
Bearbeitet: Sivani Pentapati am 2 Sep. 2021
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 Kommentar
Matthias Menge
Matthias Menge am 6 Sep. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by