Why does code generated from my .SLXP model with setting "Obfuscated source code" contain non-obfuscated source code?
이전 댓글 표시
I'd like to generate code from an .SLXP model with setting "Obfuscated source code", but the generated code contains non-obfuscated source code. Why is this happening?
Here's an example. Open the following example:
openExample('simulink/ComponentInterfaceSpecificationUsingBusesExample')
I generated a protected .SLXP model of "CounterAlgorithm" with "Content type" set to "Obfuscated source code".

After generating the "CounterAlgorithm.slxp" file, I delete the original "CounterAlgorithm.slx" file.
Next, I build code for the parent "CounterSystem.slx" model using the following command:
slbuild('CounterSystem')
However, after building code, I notice that some of my generated code is not obfuscated. For example, "CounterAlgorithm_types.h" reveals the Bus structure of "LimitsBus" and "DataBus".

Why are these components not obfuscated in the generated code?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

