Documentation Center

  • Trial Software
  • Product Updates

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. 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.

You can view the contents of a protected model if the Web view functionality is enabled during creation. Otherwise, you cannot log signals in a protected model. Protected models do not appear in the model hierarchy in the Model Explorer.

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 or Accelerator mode. To run in Accelerator mode, the protected model must include code generation capabilities.

  • 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.

If you use a protected model for operations like viewing a Web view, update diagram, 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 following this procedure:

  1. Open the unprotected model.

  2. Select Analysis > Model Dependencies > Generate Manifest.

  3. Click OK to generate the manifest.

  4. The licenses required for the model are listed in the Model Manifest Report under Toolboxes required by this model.

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

Was this topic helpful?