Is there a way to obfuscate the code generated from the model?

Is there a way to obfuscate the code generated from the model?

 Réponse acceptée

Protected Model makes it possible to obfuscate the generated code.
Details of the Protected Model can be found in the following documentation:
When creating a Protected Model, you can select one of the following three Content types for the generated code.
(1) Binaries
(2) Obfuscated source code
(3) Readable source code
 
(1) is .lib and can be selected if you do not want your distribution partners to decipher the generated code.
(2) and (3) are C code, although there is a difference in readability.
The obfuscated source code in (2) is the generated code with all of the variable and function names converted to meaningless character strings, except for the names of interfaces to other sets of code, which cannot be changed. 
Please refer to the following documentation for details on settings:

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Produits

Version

R2016b

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by