Implementaciones de clases de muestra
Entienda los diferentes flujos de trabajo y los distintos enfoques para el diseño y la implementación de las clases.
Sintaxis del lenguaje de MATLAB
classdef | Class definition keywords |
Temas
- Crear una clase simple
Esta clase simple introduce los patrones y la sintaxis básicos para definir una clase.
- Using a Class to Display Graphics
This example of a MATLAB class definition shows syntax and programming techniques used in typical classes.
- Developing Classes That Work Together
Classes implement your object-oriented design.
- Representing Structured Data with Classes
Classes enable you to define specialized data structures.
- Implementing Linked Lists with Classes
MATLAB handle objects enable you to implement an efficient linked-list data structure.
- Customize Parentheses Indexing for Mapping Class
This example shows how to customize parentheses indexing for a mapping class.
- Representing Polynomials with Classes
This example shows how to define new data types using classes.
- A Class Hierarchy for Heterogeneous Arrays
Heterogeneous class hierarchies enable you to form arrays of different, but related classes.
- Static Data
Static data refers to data that all objects of the class share and that you can modify after creation. MATLAB supports techniques for working with static data.