Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: GUI - grouping radio buttons
Date: Thu, 27 Nov 2008 20:16:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <ggmv61$olj$1@fred.mathworks.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 1227816962 25267 172.30.248.38 (27 Nov 2008 20:16:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 27 Nov 2008 20:16:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1613050
Xref: news.mathworks.com comp.soft-sys.matlab:503558


I'm trying to make a button group with 2 radio buttons inside it.  I want them to toggle between each other and never have both on or off at the same time.  With that, I want to store the value generated into a variable to use in an if then statement later in my code.

Also, I want to set one of the buttons as default on when the gui starts.

How do I do all of this?

Sincerely,
Mark