How to enable read only for protected models?
24 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
采纳的回答
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!