Patent ID: 8832646

Claim:
A computing device-implemented method comprising: receiving a first graphical model; generating, by a processor of the computing device, textual code for the first graphical model, the generating including: generating a plurality of related files required for compiling the generated textual code; converting the generated textual code for the first graphical model into obfuscated textual code, the converting including: converting the plurality of related files to plurality of obfuscated related files; receiving a second graphical model, where: the second graphical model includes the first graphical model, and the second graphical model is executable; incorporating the obfuscated textual code into the second graphical model using a graphical element, where: the incorporating associates the plurality of obfuscated related files with the second graphical model, and the obfuscated textual code interacts with a portion of the second graphical model, the interacting comprising: receiving output from the portion of the second graphical model, or providing input to the portion of the second graphical model; and generating code for the second graphical model, the generating comprising: incorporating the obfuscated textual code into the generated code.