Main Content

Generate typedefs for imported bus and enumeration types

Description

Determines typedef handling and generation for imported bus and enumeration data types in Stateflow® and MATLAB Function blocks.

Category: Simulation Target

Settings

Default: Off

On

The software will generate its own typedefs for imported bus and enumeration types.

Off

The software will not generate its own typedefs for imported bus and enumeration types, and will use definitions in the included header file. This setting requires you to include header files in Configuration Parameters, which can be done by navigating to the Simulation Target pane.

Tips

  • This selection applies if you are using imported bus or enumeration data types in Stateflow and MATLAB Function blocks.

Command-Line Information

Parameter: SimGenImportedTypeDefs
Value: 'on' | 'off'
Default: 'off'

Related Topics