Main Content

Model Protection

Create a protected model for simulation and code generation to share with a third-party

A protected model provides a model reference that conceals underlying implementation details. The model protection process compiles the model and packages the derived artifacts, which support model functionalities without including sensitive IP. See Create Protected Models to Conceal Contents and Generate HDL Code


expand all

Simulink.ModelReference.protectObscure referenced model contents to hide intellectual property
Simulink.ModelReference.modifyProtectedModelModify existing protected model
Simulink.ModelReference.ProtectedModel.setPasswordForModifyAdd or provide password for modifying protected model
Simulink.ModelReference.ProtectedModel.setPasswordForSimulationAdd or provide encryption password for simulation of protected model
Simulink.ModelReference.ProtectedModel.setPasswordForHDLCodeGenerationAdd or provide encryption password for HDL code generation from protected model
Simulink.ModelReference.ProtectedModel.setPasswordForViewAdd or provide encryption password for read-only view of protected model
Simulink.ModelReference.ProtectedModel.clearPasswordsClear cached passwords for protected models
Simulink.ModelReference.ProtectedModel.clearPasswordsForModelClear cached passwords for a protected model
Simulink.ProtectedModel.openOpen protected model


Create Protected Models to Conceal Contents and Generate HDL Code

Protect a model when you want to share a model with a third party without revealing intellectual property.

Test Protected Models

Test your protected model by comparing it to the original model.

Package and Share Protected Models

Files to include in the protected model package.