Protected Model

A protected model provides the ability to deliver a model without revealing the intellectual property of the model. A protected model is a referenced model that hides all block and line information. It does not use encryption technology unless you use the optional password protection available for read-only view, simulation, and code generation. If you choose password protection for one of these options, the software protects the supporting files using AES–256 encryption. Creating a protected model requires a Simulink® Coder™ license. A third party that receives a protected model must match the platform and the version of Simulink for which the protected model was generated.

Simulating a protected model requires that the protected model:

  • Be available somewhere on the MATLAB® path.

  • Be referenced by a Model block in a model that executes in normal, accelerator, or rapid accelerator mode.

  • Receives from the Model block the values needed by any defined model arguments.

  • Connects via the Model block to input and output signals that match the input and output signals of the protected model.

To locate protected models in your model:

  • The MATLAB Folder Browser shows a small image of a lock on the node for the protected model file.

  • A Model block that references a protected model shows a small image of a shield in the lower left corner of the Model block.


Protected models do not appear in the model hierarchy in the Model Explorer.

If you use a protected model for operations like viewing a Web view, simulation, or code generation, then the licenses used in the protected model will be checked out before those operations begin. The creator of the protected model can view the licenses of a protected model that will be checked out by looking at the protected model report. To open the report, right-click the protected-model badge icon and select Display Report. In the Summary of the report, the Licenses table lists the licenses required to use the protected model.

For more information, see Use Protected Model in Simulation. For more information about creating protected referenced models, see Protect a Referenced Model (Simulink Coder).

Related Topics

Was this topic helpful?