Documentation

This is machine translation

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

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

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

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.

Was this topic helpful?