Main Content

Generate C API for: root-level I/O

Generated C API interface code for root-level inports and outports in root-level I/O structure

Model Configuration Pane: Code Generation / Interface

Description

The Generate C API for: root-level I/O parameter specifies whether, for model root-level inports and outports, the code generator produces C API data interface code in a root-level I/O structure.

Settings

Off (default) | On

Default: off

On

Enables generation of a C API interface for root-level inports and outports.

Off

Disables generation of a C API interface for root-level inports and outports.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact during development
Off for production code generation

Programmatic Use

Parameter: RTWCAPIRootIO
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2011a