Simple Object Creation in Matlab Object Oriented Programming (OOP)

版本 1.2.0.0 (43.6 KB) 作者: Michael Chan
The objective is to provide a simple sample code to illustrate OOP in Matlab.
635.0 次下载
更新时间 2013/1/11

查看许可证

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

引用格式

Michael Chan (2024). Simple Object Creation in Matlab Object Oriented Programming (OOP) (https://www.mathworks.com/matlabcentral/fileexchange/39769-simple-object-creation-in-matlab-object-oriented-programming-oop), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Software Development Tools 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

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

1.1.0.0

Added a 2nd example to demonstrate composites with composite.

1.0.0.0