S-functions or protected model to protect intellectual property

16 次查看(过去 30 天)
Hi,
In the Simulink Coder documentation ( https://fr.mathworks.com/help/rtw/ug/generated-s-function-block-deployment.html ), there's a note that says : " While the S-function target provides a means to deploy an application component for reuse while shielding its internal logic from inspection and modification, the preferred solutions for protecting intellectual property in distributed components are: 1) The protected model, a referenced model that hides all block and line information. For more information, see Protected Model (Simulink) and 2) The shared library system target file, used to generate a shared library for a model or subsystem for use in a system simulation external to Simulink. For more information, see Package Generated Code as Shared Libraries (Embedded Coder).
Il will forget the 2nd option because i've no Embedded coder licence.
But there's no explanation why protected model are preferred than S-functions. Is there, somewhere in the documentation, some more advanced justifications ? Or is there someone who have experienced the 2 methods and could share the pros and cons of each one ?
Sincerely,
Stéphanie.

回答(1 个)

Mark McBroom
Mark McBroom 2017-11-30
Protected model gives the option to encrypt contents via password and provides different levels of access. An S-Function only compiles the code into a shared library. If someone is adventurous enough, they could reverse engineer the algorithm from object code in the shared library.

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by