help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab classes supported?


From: David Bateman
Subject: Re: Matlab classes supported?
Date: Thu, 31 Jul 2008 12:01:10 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080725)

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                                address@hidden
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]