Thread Subject: Object Oriented Changes in 2008a

Subject: Object Oriented Changes in 2008a

From: CSB

Date: 5 May, 2008 18:16:03

Message: 1 of 9

Can anyone point me to a list of the specific changes
between 2007b and 2008a with regard to support for object
oriented code?

I written some MATLAB code using 2008a that takes advantage
of the latest object oriented features and I just
discovered it also need to run in 2007b and I'm see initial
errors calling a static method on one of my classes but I
can't find a good description of what will / will not work
in 2007.

Thank you.

Subject: Object Oriented Changes in 2008a

From: Bruno Luong

Date: 5 May, 2008 18:24:03

Message: 2 of 9

"CSB " <cbrundick@hotmail.com> wrote in message
<fvnit3$ecj$1@fred.mathworks.com>...
> Can anyone point me to a list of the specific changes
> between 2007b and 2008a with regard to support for object
> oriented code?
>
> I written some MATLAB code using 2008a that takes advantage
> of the latest object oriented features and I just
> discovered it also need to run in 2007b and I'm see initial
> errors calling a static method on one of my classes but I
> can't find a good description of what will / will not work
> in 2007.
>
> Thank you.

The answer is simple: there is no object-oriented feature in
2007b.

Bruno

Subject: Object Oriented Changes in 2008a

From: James Tursa

Date: 5 May, 2008 18:44:06

Message: 3 of 9

"CSB " <cbrundick@hotmail.com> wrote in message
<fvnit3$ecj$1@fred.mathworks.com>...
> Can anyone point me to a list of the specific changes
> between 2007b and 2008a with regard to support for object
> oriented code?

You might start with the 2008a release notes. They contain
info on the added OOP features.

http://www.mathworks.com/access/helpdesk/help/base/relnotes/index.html?/access/helpdesk/help/base/relnotes/f0-107996.html&http://www.mathworks.com/cgi-bin/texis/webinator/search/?db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500&rlead=250&sufs=0&order=r&is_summary_on=1&ResultCount=10&query=release+notes&submitButtonName=Search

James Tursa

Subject: Object Oriented Changes in 2008a

From: CSB

Date: 5 May, 2008 18:49:03

Message: 4 of 9

"Bruno Luong" <b.luong@fogale.fr> wrote in message <fvnjc3
$bfq$1@fred.mathworks.com>...
> "CSB " <cbrundick@hotmail.com> wrote in message
> <fvnit3$ecj$1@fred.mathworks.com>...
> > Can anyone point me to a list of the specific changes
> > between 2007b and 2008a with regard to support for
object
> > oriented code?
> >
> > I written some MATLAB code using 2008a that takes
advantage
> > of the latest object oriented features and I just
> > discovered it also need to run in 2007b and I'm see
initial
> > errors calling a static method on one of my classes but
I
> > can't find a good description of what will / will not
work
> > in 2007.
> >
> > Thank you.
>
> The answer is simple: there is no object-oriented feature
in
> 2007b.
>
> Bruno
>


It's curious that the 2008a release notes indicate
an "update to object-oriented programming capabilities".
There is a clear implication that something existed in the
previous version.

Subject: Object Oriented Changes in 2008a

From: James Tursa

Date: 5 May, 2008 20:18:03

Message: 5 of 9

"CSB " <cbrundick@hotmail.com> wrote in message
<fvnkqv$beo$1@fred.mathworks.com>...
>
> It's curious that the 2008a release notes indicate
> an "update to object-oriented programming capabilities".
> There is a clear implication that something existed in the
> previous version.

Yes, MATLAB has had some OOP capability for awhile.
User-defined classes, operator & function overloading, etc.

James Tursa

Subject: Object Oriented Changes in 2008a

From: Dan Hensley

Date: 6 May, 2008 00:07:18

Message: 6 of 9

Bruno Luong wrote:
> "CSB " <cbrundick@hotmail.com> wrote in message
> <fvnit3$ecj$1@fred.mathworks.com>...
>> Can anyone point me to a list of the specific changes
>> between 2007b and 2008a with regard to support for object
>> oriented code?
>>
>> I written some MATLAB code using 2008a that takes advantage
>> of the latest object oriented features and I just
>> discovered it also need to run in 2007b and I'm see initial
>> errors calling a static method on one of my classes but I
>> can't find a good description of what will / will not work
>> in 2007.
>>
>> Thank you.
>
> The answer is simple: there is no object-oriented feature in
> 2007b.
>
> Bruno
>

Huh? We've had custom objects in Matlab since version 5.0 in 1997. In
2008a Mathworks released a new object-oriented capability that expands
what used to be possible. All of the old object code continues to work
without changes.

To answer the OP's question, I have not investigated in detail, but I
think the R2008a release notes would be the best place to start.

Dan

Subject: Object Oriented Changes in 2008a

From: Dan Hensley

Date: 6 May, 2008 00:07:23

Message: 7 of 9

Bruno Luong wrote:
> "CSB " <cbrundick@hotmail.com> wrote in message
> <fvnit3$ecj$1@fred.mathworks.com>...
>> Can anyone point me to a list of the specific changes
>> between 2007b and 2008a with regard to support for object
>> oriented code?
>>
>> I written some MATLAB code using 2008a that takes advantage
>> of the latest object oriented features and I just
>> discovered it also need to run in 2007b and I'm see initial
>> errors calling a static method on one of my classes but I
>> can't find a good description of what will / will not work
>> in 2007.
>>
>> Thank you.
>
> The answer is simple: there is no object-oriented feature in
> 2007b.
>
> Bruno
>

Huh? We've had custom objects in Matlab since version 5.0 in 1997. In
2008a Mathworks released a new object-oriented capability that expands
what used to be possible. All of the old object code continues to work
without changes.

To answer the OP's question, I have not investigated in detail, but I
think the R2008a release notes would be the best place to start.

Dan

Subject: Object Oriented Changes in 2008a

From: Bruno Luong

Date: 6 May, 2008 06:29:05

Message: 8 of 9

Dan Hensley <somewhere@over.there> wrote in message
>
> Huh? We've had custom objects in Matlab since version 5.0
in 1997. In
> 2008a Mathworks released a new object-oriented capability
that expands
> what used to be possible. All of the old object code
continues to work
> without changes.
>

If this is the case, I stand corrected.

Bruno

Subject: Object Oriented Changes in 2008a

From: Kevin Murphy

Date: 15 Jun, 2008 17:12:02

Message: 9 of 9

The OO features in 2008a (v7.6) are quite different
from those introduced in v5.0 (which continue to work, but
use a different syntax). I too have found
that code that uses the new features also
mostly works in 2007b but not 2007a. I suspect Mathworks
has been gradually adding more features 'under the hood',
before they officially released it in 2008a.
The main feature I found missing in 2007b was the 'hidden'
attribute, but I'm sure there are many other
incompatibilities...

Kevin



"Bruno Luong" <b.luong@fogale.fr> wrote in message
<fvotrg$m5q$1@fred.mathworks.com>...
> Dan Hensley <somewhere@over.there> wrote in message
> >
> > Huh? We've had custom objects in Matlab since version
5.0
> in 1997. In
> > 2008a Mathworks released a new object-oriented
capability
> that expands
> > what used to be possible. All of the old object code
> continues to work
> > without changes.
> >
>
> If this is the case, I stand corrected.
>
> Bruno

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com