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 if input is cell array of character vectors |
ischar |
Determine if 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 |
isgraphics |
True for valid 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 whether array is real |
isenum |
Determine if variable is enumeration |
isstruct |
Determine whether input is structure array |
istable |
Determine whether input is table |
Topics
Fundamental MATLAB Classes
There are many different data types,
or classes, that you can work with in the MATLAB® software.
You can build matrices and arrays of floating-point and integer data,
characters and strings, and logical true
and false
states.
Function handles connect your code with any MATLAB function regardless
of the current scope. Tables, structures, and cell arrays provide
a way to store dissimilar types of data in the same container.