1. A method, comprising: receiving a state chart generated via a technical computing environment, the state chart including at least one function block that includes a function, the function including one or more function inputs and one or more function outputs, the state chart including at least one state block that includes a function call to the function of the at least one function block, the function call including one or more call inputs and one or more call outputs, and the receiving the state chart being performed by a device; initiating execution of the state chart, the initiating the execution of the state chart being performed by the device; parsing, during the execution of the state chart, the function into the one or more function inputs and the one or more function outputs, the parsing the function being performed by the device; parsing, during the execution of the state chart, the function call into the one or more call inputs and the one or more call outputs, the parsing the function call being performed by the device; transforming a portion of the function, which is not understood by a graphical engine of the technical computing environment, into a transformed portion of the function that is understood by the graphical engine, the transforming the portion of the function into the transformed portion of the function including: providing text included in the portion of the function to a transformer, and transforming, with the transformer, the text included in the portion of the function so that the text is understood by the graphical engine, the text included in the portion of the function not being understood by the graphical engine, the transforming being performed by the device; processing, during the execution of the state chart, the one or more function inputs, the one or more function outputs, and the transformed portion of the function with the graphical engine of the technical computing environment to generate function-related code, the processing the one or more function inputs, the one or more function outputs, and the transformed portion of the function being performed by the device; processing, during the execution of the state chart, the one or more call inputs and the one or more call outputs with a textual engine of the technical computing environment to generate function call-related code, the processing the one or more call inputs and the one or more call outputs being performed by the device; and providing the function-related code and the function call-related code in generated code, the providing being performed by the device.