MATLAB Documentation for OOP
(For reference by students)


 

DISPLAY METHOD
Definition The method called whenever Matlab wants to display the contents of an object
 
Example
function display(ba)
disp(char(ba));
 

This function is a display for the BankAccount class. It displays a string representation of the account as defined in the char method.

 
 


Got comments\feedback\suggestions\complaints\anything whatsoever? Shoot the webmaster an email!

Website created & maintained by Shardul Bhatia and Wen Eu Cheah