MATLAB® has many functions to identify the data type of a variable or to determine whether a variable has a specific data type. Use these functions when calling or writing code that depends on variables having specific data types.
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.