issingle

Determine whether numeric type represents the single-precision, floating-point data type single

Syntax

indication = issingle(numericType)

Description

indication = issingle(numericType) returns 1 (true) if the Simulink.NumericType object numericType represents the single-precision, floating-point data type single and 0 (false) otherwise.

In Simulink®, a Simulink.NumericType object represents a data type that you can share between different data items in a model. For more information, see Simulink.NumericType.

Input Arguments

collapse all

Target numeric type, specified as a Simulink.NumericType object.

Output Arguments

collapse all

Indication of whether the target object represents single, returned as 1 (true) or 0 (false).

Introduced in R2010b