Documentation

Code Generation

C/C++ code generation and debugging, report generation

The code generator produces C and C++ code from Simulink®diagrams, Stateflow®charts, and MATLAB®functions. The generated code can be used for real-time and non-real-time applications, including rapid prototyping and simulation acceleration. You can generate code that represents a complete algorithm, or standalone utility code that several model blocks share. Configure code generation parameters to determine how the software generates code and builds executables from your model. Code generation reports allow you to view and analyze the generated code. Code replacement libraries help customize generated code to meet compliance standards, optimize for your run-time environment, or integrate with existing application code.

Featured Examples

Was this topic helpful?