Programming Previous page   Next Page

The Asset set Method

The asset class set method is called by subclass set methods. This method accepts an asset object and variable length argument list of property name/property value pairs and returns the modified object.

Subclass set methods call the asset set method and require the capability to return the modified object since MATLAB does not support passing arguments by reference. See The Stock set Method for an example.


Previous page  The Asset get Method The Asset subsref Method Next page

© 1994-2005 The MathWorks, Inc.