This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Data Type Identification

Determining data type of a variable


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
is* Detect state
class Determine class of object
validateattributes Check validity of array
whos List variables in workspace, with sizes and types


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.

Was this topic helpful?