Quantcast

Simulink Coder

Defining and Controlling Data

Simulink Coder enables you to define and control how the model data appears in the generated code. You can also manage your data by:

  • Declaring data types as integer, floating-point, and fixed-point
  • Specifying storage to tune and calibrate parameters or constants
  • Specifying storage to monitor and log signal data
  • Reusing storage to minimize locally scoped data

Simulink Coder generates code from data stored in your Simulink diagram or in a data dictionary accessed via the Simulink Model Explorer. By employing different data dictionary sets, you can redeploy code from a single model to multiple targets.

Simulink Model Explorer showing various data types and storage classes used in a model.
Simulink Model Explorer showing various data types and storage classes used in a model. Note that custom storage classes require Embedded Coder.
Next: Generating Code

Try Simulink Coder

Get trial software

Free Hands-on Tutorial Featuring Eclipse

Request tutorial

Automatically Generate Code for Real-Time Design and Testing

Learn more