Main Content

Support only purely-integer numbers

Detection of floating-point code

Description

App Configuration Pane: Speed

Configuration Objects: coder.EmbeddedCodeConfig

Detection of floating-point code.

Dependencies

  • Setting PurelyIntegerCode to true disables the SupportNonFinite parameter. Setting PurelyIntegerCode to false enables the SupportNonFinite parameter.

Settings

Off

This value is the default value.

The code generator allows floating-point data and operations.

On

The code generator does not allow floating-point data or operations. If the code generator detects floating-point data or operations, code generation ends with an error.

Programmatic Use

Property: PurelyIntegerCode
Values: false | true
Default: false

Version History

Introduced in R2011a