Introduction
This paper discusses MATLAB object-oriented programming that is divided into three parts. The first part covers the required elements and focuses on developing a set of functions that give MATLAB objects first-class status within the environment. It develops a group of eight indispensable functions. These functions provide object initialization, a simple intuitive interface, interaction with the environment's features, and array capability. The second part builds on the first by developing strategies and implementations that allow the construction of hierarchies without compromises. Such hierarchies are important for achieving true object-oriented programming. The third part discusses advanced strategies and introduces some useful utilities. Advanced strategies include, among others, type-based function selection, also known as polymorphism; passing arguments by reference instead of by value; replacing feval's function handle with an object; and a utility for rapid object-oriented code development.
Introduction, Page 1 of 2
< Previous page Next page > /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch1-1.gif /docserver/preview/fulltext/books/pc/sbpc001e/SBPC001E_ch1-2.gif