class vs data type?

조회 수: 2 (최근 30일)
ABTJ
ABTJ 2020년 2월 23일
답변: Rik 2020년 2월 23일
What is difference between class and data type in MATLAB?or both exactly same??

답변 (1개)

Rik
Rik 2020년 2월 23일
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.

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by