Documentation Center

  • Trial Software
  • Product Updates

Validate Data

Determine type or characteristic of array data

Fortran Functions

mxIsDouble Determine whether mxArray represents data as double-precision, floating-point numbers
mxIsSingle Determine whether array represents data as single-precision, floating-point numbers
mxIsComplex Determine whether data is complex
mxIsNumeric Determine whether array is numeric
mxIsInt64 Determine whether array represents data as signed 64-bit integers
mxIsUint64 Determine whether array represents data as unsigned 64-bit integers
mxIsInt32 Determine whether array represents data as signed 32-bit integers
mxIsUint32 Determine whether array represents data as unsigned 32-bit integers
mxIsInt16 Determine whether array represents data as signed 16-bit integers
mxIsUint16 Determine whether array represents data as unsigned 16-bit integers
mxIsInt8 Determine whether array represents data as signed 8-bit integers
mxIsUint8 Determine whether array represents data as unsigned 8-bit integers
mxIsChar Determine whether input is string array
mxIsLogical Determine whether array is of type mxLogical
mxIsStruct Determine whether input is structure array
mxIsCell Determine whether input is cell array
mxIsClass Determine whether array is member of specified class
mxIsInf Determine whether input is infinite
mxIsFinite Determine whether input is finite
mxIsNaN Determine whether input is NaN (Not-a-Number)
mxIsEmpty Determine whether array is empty
mxIsSparse Determine whether input is sparse array
mxIsFromGlobalWS Determine whether array was copied from MATLAB global workspace
Was this topic helpful?