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:
MATLAB
Simulink
Simulink PLC Coder™
Categories
- PLC Code Generation Basics
Overview of how to generate structured text code
- Code Appearance
Configure parameters that modify identifiers, code style, and comments
- Code Interface Configuration and Integration
Facilitate external code integration
- Custom Code Generation
Create a custom plugin-based IDE and generate custom code for the custom IDE
- Distributed Model Code Generation
Generate code for model components and integrate them externally