Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: reading input from a GUI
Date: Mon, 4 Feb 2008 05:20:02 +0000 (UTC)
Organization: Konem Solutions
Lines: 16
Message-ID: <fo67a2$2i9$1@fred.mathworks.com>
References: <fo5tmh$h2s$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202102402 2633 172.30.248.35 (4 Feb 2008 05:20:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 4 Feb 2008 05:20:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:449083


"Thiago Jota" <thiago@mathworks.com> wrote in message
<fo5tmh$h2s$1@fred.mathworks.com>...
> Folks,
> 
> Simple question. I'm avoiding "inputdlg" in order to
> customize my GUI, but I need something similar. How can I
> store what I enter in a text field?

Hello
There is a simple gui program on the File Central
(http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=18212&objectType=file)
You can modify it according to your requirement to send
output to the workspace. Instead of a radio button make a
edit box and get the value from the get() .
HTH
Vihang