Main Content

Support: complex numbers

Description

Specify whether to generate complex data and operations.

Category: Code Generation > Interface

Settings

Default: on

On

Generates complex numbers and related operations.

Off

Does not generate complex data and related operations. If you clear this option, an error occurs if the code generator encounters complex data or expressions. The error message reports offending blocks and parameters.

Dependencies

  • This parameter only appears for ERT-based targets.

  • This parameter requires an Embedded Coder® license when generating code.

  • If off for top model, must be off for referenced models.

Command-Line Information

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

Recommended Settings

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

Related Topics