Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: ML Classes - What is the right way to construct classes?
Date: Mon, 17 Sep 2007 18:17:08 +0000 (UTC)
Organization: KTH
Lines: 18
Message-ID: <fcmgb4$7u2$1@fred.mathworks.com>
References: <1190044074.433443.295080@n39g2000hsh.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1190053028 8130 172.30.248.38 (17 Sep 2007 18:17:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 17 Sep 2007 18:17:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1670
Xref: news.mathworks.com comp.soft-sys.matlab:428953



 "G.A.M." <x0Zero@gmail.com> wrote in message 

> I wrote my first class in Matlab recently. 

Have you thought of using "closures" (nested functions 
together with function handles) instead? Assignments with 
Matlab objects are "by value". 
<snip>

> But the program works correctly and I don't want to
> break it as we refactor it.
 
MUNIT (free download) at http://xtargets.com is the best I 
have found.
<snip>

/ per