Main Content

Support: complex numbers

Code generation for complex data

Model Configuration Pane: Code Generation / Interface

Description

The Support: complex numbers parameter specifies whether to generate complex data and operations.

If you clear this parameter for the top model of a model hierarchy, clear the parameter for referenced models.

Settings

On (default) | Off
On

Enables generation of complex numbers and related operations.

Off

Disables generation of complex numbers and operations. If you clear this parameter and the code generator encounters complex data or expressions, an error occurs. The error message reports offending blocks and parameters.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyOff (for real only)
Safety precautionNo impact

Programmatic Use

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

Version History

Introduced before R2006a