Table Of Contents

datatype

Version:
    Last Modified: March 15, 2017

    Returns the data type of a variable.

    Syntax

    c = datatype(a)
    Legacy name: class

    Inputs

    a

    Variable.

    Outputs

    c

    Data type of a. Valid data types are: double, single, logical, char, int8, int16, int32, int64, uint8, uint16, uint32, uint64, and struct. c is a string.

    A = 12*23+4i
    C = datatype(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics