Esta página aún no se ha traducido para esta versión. Puede ver la versión más reciente de esta página en inglés.

Identificación de tipos de datos

Determinación de tipos de datos de una variable

Funciones

iscalendardurationDetermine if input is calendar duration array
iscategoricalDetermine whether input is categorical array
iscellDetermine if input is cell array
iscellstrDetermine if input is cell array of character vectors
ischarDetermine if input is character array
isdatetimeDetermine if input is datetime array
isdurationDetermine if input is duration array
isenumDetermine if variable is enumeration
isfloatDetermine if input is floating-point array
isgraphicsTrue for valid graphics object handles
isintegerDetermine whether input is integer array
isjavaDetermine if input is Java object
islogicalDetermine if input is logical array
isnumericDetermine whether input is numeric array
isobjectDetermine if input is MATLAB object
isrealDetermine whether array uses complex storage
isstringDetermine if input is string array
isstructDetermine if input is structure array
istableDetermine whether input is table
istimetableDetermine if input is timetable
is*Detect state
isaDetermine if input has specified data type
classClass of object
validateattributesCheck validity of array
whosList variables in workspace, with sizes and types

Temas

Fundamental MATLAB Classes

There are many different data types, or classes, that you can work with in MATLAB®. You can build matrices and arrays of floating-point and integer data, characters and strings, logical true and false values, and so on. Function handles connect your code with any MATLAB function regardless of the current scope. Tables, timetables, structures, and cell arrays provide a way to store dissimilar types of data in the same container.