|
From: | Ben Abbott |
Subject: | Re: displaying structures array as table |
Date: | Tue, 30 Aug 2011 17:21:31 -0400 |
On Aug 30, 2011, at 2:41 PM, John W. Eaton wrote: I don't object to improving the default display functions, but no I was thinking this was already possible, but then noticed a subtle difference between how the @class stuff works for Matlab and Octave. If I create a directory named "@cell" and place a display.m function (below) in it ... function display (a) disp ('My display method') disp (a) end .... then from the following at the ML command prompt I see
However, from Octave I get ....
It appears that ML and Octave are using methods of different names to display the contents of built-in objects. My understanding is that Matlab's default method for displaying an objects content is ... function display (a) disp (a) end Ben |
[Prev in Thread] | Current Thread | [Next in Thread] |