Table Of Contents

is_logical

Version:
    Last Modified: January 9, 2017

    Determines whether a scalar or array of any dimension is Boolean.

    Syntax

    c = is_logical(a)
    Legacy name: islogical

    Inputs

    a

    Scalar or array of any dimension of any data type.

    Outputs

    c

    1 if a is a Boolean scalar or array. Otherwise, the function returns 0. c is a Boolean.

    A = 'TEST'
    C = is_logical(A)
    B = true
    D = is_logical(B)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics