IP protection of Simulink Library Models

9 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2023 年 12 月 15 日
回答済み: MathWorks Support Team 2023 年 12 月 15 日
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.

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 4 月 15 日
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:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by