Matlab classes supported?
David Bateman
David.Bateman at motorola.com
Thu Jul 31 05:01:10 CDT 2008
Bart Vandewoestyne wrote:
> Dear list,
>
> I'm trying to figure out if Octave already supports Matlab
> Classes and Object-Oriented Programming as explained on
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/ug_intropage.html
>
> I've found this thread:
>
> https://www.cae.wisc.edu/pipermail/help-octave/2006-November/002333.html
>
> Where John announces that classes won't appear in any snapshot
> until after 3.0 is released.
>
> Here at work, I only have access to Octave 2.9.12 that comes
> packaged in the Linux distribution we're using. I did a small
> test with the following code example from the Matlab website:
>
> classdef TensileData
> properties
> Material = '';
> SampleNumber = 0;
> Stress
> Strain
> Modulus = 0;
> end
> end
>
> but it does not seem to work:
>
>
>
classdef was added in Matlab 2008b (ie in the last few months), the
older matlab OOP features are supported in Octave 3.1.51 but not Octave
3.0.1
Regards
David
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
More information about the Help-octave
mailing list