How to enable read only for protected models?

조회 수: 19 (최근 30일)
Matthias Menge
Matthias Menge 2021년 8월 11일
댓글: Matthias Menge 2021년 9월 6일
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 ?

채택된 답변

Sivani Pentapati
Sivani Pentapati 2021년 9월 2일
편집: Sivani Pentapati 2021년 9월 2일
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
Matthias Menge
Matthias Menge 2021년 9월 6일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Model References에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by