La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
Identification des types de données
MATLAB® propose de nombreuses fonctions permettant d’identifier le type de données d’une variable ou de déterminer si une variable est d’un type de données spécifique. Utilisez ces fonctions lorsque vous appelez ou écrivez du code qui nécessite que les variables soient d’un type de données spécifique.
Fonctions
Rubriques
- 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
andfalse
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. - Use is* Functions to Detect State
There are many functions in MATLAB that detect if an input has a specified data type or a specified state, or if the elements of an input array meet a specified condition.
- Working with Objects in MATLAB
Some MATLAB functions return objects. Objects combine data with functions and methods.