Effacer les filtres
Effacer les filtres

class vs data type?

5 vues (au cours des 30 derniers jours)
ABTJ
ABTJ le 23 Fév 2020
Réponse apportée : Rik le 23 Fév 2020
What is difference between class and data type in MATLAB?or both exactly same??

Réponses (1)

Rik
Rik le 23 Fév 2020
In general I would consider 'class' a superset of 'data type' and only include the core Matlab clases a list of data types, so the integer types (uint8, int16, etc), the floats (single and double), the texts (char and string), and the containers (cell and struct).
Classes can be internal classes (built in to the core Matlab or a toolbox), or classes you create with a classdef m-file.
But I'm not aware of any official distinction between the two.

Catégories

En savoir plus sur Argument Definitions dans Help Center et File Exchange

Produits


Version

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by