Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Callbaks, Passing by reference, setting output
Date: Fri, 14 Sep 2007 10:11:07 +0000 (UTC)
Organization: KTH
Lines: 10
Message-ID: <fcdmnr$6j9$1@fred.mathworks.com>
References: <fcdm6c$vk$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1189764667 6761 172.30.248.37 (14 Sep 2007 10:11:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 14 Sep 2007 10:11:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1062272
Xref: news.mathworks.com comp.soft-sys.matlab:428523



I made a temporary solution by passing the name of the 
variable to the function and using eval to assign the value.
Since I am using nested function this works, but I am still 
interested in other solutions. 

Cheers
/Karl
Developer @ Lundin Mining AB 
http://www.lundinmining.com/index.php 
Developer @ Auktionshuset Kolonn AB http://www.kolonn.se