Skip to Main Content Skip to Search
Product Documentation

Detailed Information and Examples

Rapid Access to Information

This section provides a gateway to both conceptual information and example implementations. It enables you to scan the information available for broad topics

Topic

Background Information and Discussion

Code Examples

Attributes (all)Attribute Tables 

Classes

List of all class member attributes: Attribute Tables

Classes in the MATLAB Language for an introduction to object-oriented programming concepts.

User-Defined Classes for an overview of classes features.

Develop Classes — Typical Workflow for a simple example

Example — Representing Structured Data

Example — Implementing Linked Lists

Example — A Polynomial Class

Example — A Simple Class Hierarchy

Example — Containing Assets in a Portfolio

Attributes

Class Attributes for a list of class attributes

 
 

Hierarchies of Classes — Concepts describes how classes can be built on other classes

Example — A Simple Class Hierarchy

 

Creating Subclasses — Syntax and Techniques

Modifying Superclass Methods and Properties

Specializing the dlnode Class

Kinds of classes

Comparing Handle and Value Classes

The Handle Superclass — a detailed description of the abstract class.

Example — Implementing Linked Lists

Properties

 

Defining Properties for an overview of what properties are and how to use them

 

Property Definition Block shows how to specify initial values

Restricting Properties to Specific Values

Attributes

Specifying Property Attributes for a list of property attributes

Using a Dependent Property

 Dynamic Properties — Adding Properties to an Instance

Assigning Data to the Dynamic Property

Methods

 

How to Use Methods for an overview of methods

 

Attributes

Method Attributes for a list of method attributes

 
 

Class Constructor Methods for information about constructor methods

Simplifying the Interface with a Constructor

 

Handle Class Delete Methods

 
 

Property Access Methods

Restricting Properties to Specific Values

 

Implementing a Set/Get Interface for Properties

 
Events
 

Events and Listeners — Concepts for an overview of how events work

Events and Listeners — Syntax and Techniques for the syntax used to define events and listeners

Example — Using Events to Update Graphs for a complete example that uses events and listeners, including a property listener

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS