Object Oriented Programming in Octave
John W. Eaton
jwe at octave.org
Sun Jul 26 21:47:07 CDT 2009
On 26-Jul-2009, James Moliere wrote:
| David Bateman wrote:
| > Banerjee,Pradipto wrote:
| >
| >> Hi,
| >>
| >> I have a question whose answer I couldn$,1ry(Bt find on the Octave website.
| >> Does Octave support Object Oriented Programming, e.g. functions like
| >> classdef, properties, methods, etc?
| >>
| >> Thanks,
| >>
| >> Pradipto
| >>
| >>
| > Not the new style Malab OOP with classdef, but the old style OOP is
| > supported in Octave 3.2.0.. There was discussion of implementing
| > classdef style OOP and there is some very very early code on the
| > developers list. Come back in 6 to 12 months and I'm sure the situation
| > will have changed. Till then use the old style OOP. Matlab has only
| > supported the classdef OOP stuff for about 18 months themselves so there
| > is lot more old style OOP code out there in any case.
| >
| > D.
| >
| >
| >
| Could someone describe the status of classdef style OOP in Octave at
| this time in the development version. In a nutshell, is there enough
| there to start playing with the capability?
There really isn't anything there now. Some patches to make the
parser understand the syntax were contributed, but they have not yet
been merged.
| I could really use that capability now or in the near future.
Would you be willing to help fund the development of this feature?
jwe
More information about the Help-octave
mailing list