Main Content

Generate typedefs for imported bus and enumeration types

typedef handling for bus and enumeration data types in Stateflow charts and MATLAB Function blocks

Model Configuration Pane: Simulation Target

Description

This parameter specifies whether Simulink® generates type definitions for bus and enumeration data types imported in Stateflow® charts and MATLAB Function blocks.

Settings

off (default) | on
off

Simulink does not generate its own type definitions for bus and enumeration data types imported in Stateflow charts and MATLAB Function blocks. Simulink uses type definitions from the included header file.

on

Simulink generates type definitions for bus and enumeration types imported in Stateflow charts and MATLAB Function blocks.

Recommended Settings

ApplicationSetting
DebuggingNo recommendation
TraceabilityNo recommendation
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

Parameter: SimGenImportedTypeDefs
Type: string | character vector
Values: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2013b