From: Fernando Yuji Ono on
I looked up in the helpbrowser to learn how to create a new class, but I just found stuff about managing already existing classes. Then I found this:

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/brhzttf.html

But it doesn't work. The command classdef is not recognized (doesn't go blue).
Can someone tell me what's going on?
From: Fernando Yuji Ono on
Sorry for uping this, but I really need help.
From: neil on
Fernando Yuji Ono <fernando90ono(a)gmail.com> wrote in message <415334277.12431.1278881392497.JavaMail.root(a)gallium.mathforum.org>...
> I looked up in the helpbrowser to learn how to create a new class, but I just found stuff about managing already existing classes. Then I found this:
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/brhzttf.html
>
> But it doesn't work. The command classdef is not recognized (doesn't go blue).
> Can someone tell me what's going on?

What version of MATLAB are you using? The link you posted only applies to R2008a and later.
From: Fernando Yuji Ono on
Oh... that's it then. I use MatLab 6.5. Yeah, I need a new one. Thank you.
From: Steven Lord on

"Fernando Yuji Ono" <fernando90ono(a)gmail.com> wrote in message
news:1886860764.13384.1278907706780.JavaMail.root(a)gallium.mathforum.org...
> Oh... that's it then. I use MatLab 6.5. Yeah, I need a new one. Thank you.

In general, the online documentation is for the most recent release (as I
type this, the most recent release is release R2010a) and may contain
information about newer features than the version you're using. To learn
how to create a class using the older version, open up your local copy of
the documentation using the DOC function and navigate to the object-oriented
programming section in that documentation.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com