MATLAB Object-Oriented Programming
Class Members Access.............................. 12-28 Basic Knowledge................................ 12-28 Applications for ...
Built-In Data Value Methods........................ 12-55 Built-In Data Organization Methods .................. 12-56 Built-In I ...
Determine If a Class Is Abstract..................... 12-93 Find Inherited Abstract Properties and Methods ......... 12-94 Defin ...
Additional Considerations .......................... 13-17 Basic saveobj and loadobj Pattern..................... 13-19 Using sa ...
Refer to Enumerations.............................. 14-11 Instances of Enumeration Classes.................... 14-11 Conversion ...
Save and Load Enumerations......................... 14-45 Basic Knowledge................................ 14-45 Built-In and Val ...
Find Default Values in Property Metadata.............. 16-20 Default Values.................................. 16-20 meta.propert ...
Values of the Indexing Structure ..................... 17-23 Typical Patterns for Indexing Methods ................ 17-23 Indexe ...
CustomDisplay Class.............................. 18-3 Methods for Customizing Object Display................ 18-3 How CustomDis ...
Customize Display of Object Arrays .................... 18-37 Objective ...................................... 18-37 Design of C ...
Operating on an Assets Array....................... 20-14 xxxi ...
...
Using Object-Oriented Design in MATLAB “Why Use Object-Oriented Design” on page 1-2 “Handle Object Behavior” on page 1-9 1 ...
Why Use Object-Oriented Design In this section... “Approaches to Writing MATLAB Programs” on page 1-2 “When Should You Create Ob ...
Classes and Objects A class describes a set of objects with common characteristics. Objects are specific instances of a class. T ...
class can specialize the subclass versions of the loan method. Each lender can have a different value for its InterestRate prope ...
to all cases that use this code. Step 2 could be defined syntactically, but not implemented, leaving the specialized implementat ...
Objects enforce rules that control how objects interact. To illustrate these advantages, consider the implementation of a data ...
The details of how methods perform these steps are encapsulated in the class design. Each node object contains the functionality ...
See Also More About “Role of Classes in MATLAB” on page 3-2 1 Using Object-Oriented Design in MATLAB ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf