Main Content

Code Generation

Configure code generation for PLC IDEs, generate structured text, configure code structure and elements

Model, simulate, and generate structured text code from your Simulink® models, Stateflow® charts, and MATLAB® functions. You can:

  • Customize the appearance of the generated code.

  • Optimize generated code for a specific target environment.

  • Generate code for custom target IDEs.

  • Generate code for distributed design models.

Generating structured text code requires these products:


  • Simulink

  • Simulink PLC Coder™