IP protection of Simulink Library Models

10 visualizaciones (últimos 30 días)
How can I protect a Simulink Library Model ?
I wish to share my Simulink model with a third party. I want the third party to access the functionalities of a custom library model that I have created, but I do not want them to access the underlying logic or algorithm used within the library.
Essentially, I wish to add a mask to the blocks in the Library model and the third party should be able to input values to the mask, but they should not be able to see the logic used under the mask.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 15 de Abr. de 2025
It is possible to protect a Custom Library model in Simulink. The following is the workflow to be followed for the same:
 
  • Implement the Logic in a model:
  • Reference the model in the library using a model block
  • Create a protected model from the model block in the library and make sure the library block refers to the .slxp file
  • Create a subsystem out of the protected model in the library and mask it for the potential parameters
  • The library block can now be used in any model, and it will be linked to the library and its contents will be protected:
Please note that using this method, when shipping the library, you will have to send both the library file and the .slxp files for the protected blocks. I have attached the folder containing the example model and the library (example_model.zip) for reference. Please ensure to check the 'Argument' option in Model Explorer -> Model -> Model Workspace in order to be able to input values into the mask. For the attached model, this option is already checked.
Additionally, the following documentation link can be used to understand how to protect a block in Simulink:

Más respuestas (0)

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by