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.

  • Enable tracing, reporting, and testing options that facilitate code verification activities.

  • Generate code for distributed design models.

Generating structured text code requires these products:

  • MATLAB

  • Simulink

  • Simulink PLC Coder™