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™
Categories
- PLC Code Generation Basics
Generate structured text
- Generated Code Partitions
Control generated code partitioning
- Block Parameters
Configure block parameters that control the appearance of variables in the generated code
- Externally Defined Identifiers
Integrate externally defined identifiers
- Distributed Model Code Generation
Generate code for model components separately and integrate them externally