ABSTRACT

With the required elements covered, it is time to piece together the frame of the puzzle. The frame pieces include many features that make object-oriented programming different from procedural programming. These features rely on encapsulation, and the differences stem from the fact that procedural languages cannot exhibit encapsulation. These features also influence the interface. For ease of use, every class interface should include a common subset of behavior. Chapter 2 described the requirements, and now we are on our own. The rest of this book provides a coding framework that covers “everything else.” While perhaps not perfect in every way, the framework and recommendations make good use of MATLAB’s various peculiarities.