Path: news.mathworks.com!not-for-mail
From: "Giacomo " <bigbig1982@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Load data from workspace to gui
Date: Thu, 30 Jul 2009 18:02:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <h4sn6r$gk1$1@fred.mathworks.com>
References: <h2di6h$8ca$1@fred.mathworks.com> <h2ds3d$9f6$1@fred.mathworks.com> <h4rih1$a0u$1@fred.mathworks.com> <h4s7ef$ahh$1@fred.mathworks.com>
Reply-To: "Giacomo " <bigbig1982@hotmail.com>
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 1248976923 17025 172.30.248.38 (30 Jul 2009 18:02:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 30 Jul 2009 18:02:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1880541
Xref: news.mathworks.com comp.soft-sys.matlab:559727


"Ilya Rozenfeld" <rozeni.nospam@alum.rpi.edu> wrote in message <h4s7ef$ahh$1@fred.mathworks.com>...
> It looks like I've made a mistake.  The code should've been
> 
> assignin('base', 'dispBoxHndl', boxHndl)
> evalin('base', ['set(dispBoxHndl, ''String'', num2str(' var '))'])
> 
> So in your case it should be like this
> 
>  assignin('base', 'dispedit13', handles.edit13)
>  evalin('base', ['set(dispedit13, ''String'', num2str(' var '))'])

Thank you very much, I'll try it tomorrow! :)