Documentation Center

  • Trial Software
  • Product Updates

Data Type Identification

Determining data type of a variable

Functions

is* Detect state
isa Determine if input is object of specified class
iscategorical Determine whether input is categorical array
iscell Determine whether input is cell array
iscellstr Determine whether input is cell array of strings
ischar Determine whether item is character array
isfield Determine whether input is structure array field
isfloat Determine if input is floating-point array
ishghandle True for Handle Graphics object handles
isinteger Determine if input is integer array
isjava Determine if input is Java object
islogical Determine if input is logical array
isnumeric Determine if input is numeric array
isobject Determine if input is MATLAB object
isreal Determine if array is real
isscalar Determine whether input is scalar
isstr Determine whether input is character array
isstruct Determine whether input is structure array
istable Determine whether input is table
isvector Determine whether input is vector
class Determine class of object
validateattributes Check validity of array
whos List variables in workspace, with sizes and types
Was this topic helpful?