Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

isboolean - Determine whether input is Boolean

Syntax

y = isboolean(a)
y = isboolean(T)

Description

y = isboolean(a) returns 1 when the DataType property of fi object a is boolean, and 0 otherwise.

y = isboolean(T) returns 1 when the DataType property of numerictype object T is boolean, and 0 otherwise.

See Also

isdouble, isfixed, isfloat, isscaleddouble, issingle

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS