Why does code generated from my .SLXP model with setting "Obfuscated source code" contain non-obfuscated source code?
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink Coder in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

