How to automatize entering password for protected models in Simulink?

17 ビュー (過去 30 日間)
How to automatize entering password for protected models in Simulink?

採用された回答

MathWorks Support Team
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 件)

カテゴリ

Help Center および File ExchangeModel Protection についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by