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

조회 수: 7 (최근 30일)

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

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 6월 17일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by