Data Type Identification

Determining data type of a variable

Functions

isa Determine if input is object of specified class
iscalendarduration Determine if input is calendar duration array
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
isdatetime Determine if input is datetime array
isduration Determine if input is duration array
isfield Determine whether input is structure array field
isfloat Determine if input is floating-point array
ishghandle True for 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
isstr Determine whether input is character array
isstruct Determine whether input is structure array
istable Determine whether input is table
is* Detect state
class Determine class of object
validateattributes Check validity of array
whos List variables in workspace, with sizes and types
Was this topic helpful?