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!

