Code covered by the BSD License  

Highlights from
Simple Object Creation in Matlab Object Oriented Programming (OOP)

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 43.6 KB File ID: #39769
image thumbnail

Simple Object Creation in Matlab Object Oriented Programming (OOP)

by

 

08 Jan 2013 (Updated )

The objective is to provide a simple sample code to illustrate OOP in Matlab.

| Watch this File

File Information
Description

main executing reference usages:
1. usage_dynamicVariableNaming.m
    a. dynamicVariableNaming.m : a Composite object (Structural in terms of design patterns) as part of an interpretor simulator for collecting variable data.
2. usage_subjectElement_WorldWithinWorlds.m : demonstrate composites with composite
    a. subjectElement.m : a Composite object
3. usage_CreateBinaryTreeManually_Partial : an example of using a node to create a binary tree (manual and partial example)
    a. node.m : node object

* Caveat:
1. For reference only.
2. Only for behavior observation.

If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.

Email: promethevx@yahoo.com

Thank you.

Regards,
Michael Chan JT

Required Products MATLAB
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
09 Jan 2013

Added a 2nd example to demonstrate composites with composite.
 

11 Jan 2013

added a 3rd example of using a node object to create a binary tree (manual and partial example)

Contact us