How to automatize entering password for protected models in Simulink?
10 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-8-8
回答: MathWorks Support Team
2019-8-8
How to automatize entering password for protected models in Simulink?
采纳的回答
MathWorks Support Team
2019-8-8
You can find the documented API here:
It is possible to authenticate for Viewing, Simulation, Code Generation and Modification.
Or check the doc in your installation by using the following commands:
>> doc Simulink.ModelReference.ProtectedModel.setPasswordForCodeGeneration%Add or provide encryption password for code generation from protected model
>> doc Simulink.ModelReference.ProtectedModel.setPasswordForModify%Add or provide password for modifying protected model
>> doc Simulink.ModelReference.ProtectedModel.setPasswordForSimulation%Add or provide encryption password for simulation of protected model
>> doc Simulink.ModelReference.ProtectedModel.setPasswordForView%Add or provide encryption password for read-only view of protected model
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Protection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!