MATLAB Answers

Radio button panel prblm

2 views (last 30 days)
I have a radio button group. In that one button is automatically selected. I want nothing should be selected. How can i do that thanks
  3 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2012
Simon, just asked to give more precision, not all this

Sign in to comment.

Accepted Answer

Matt Fig
Matt Fig on 10 Nov 2012
Edited: Matt Fig on 10 Nov 2012
In your Least_Sqaure_Optimization_OpeningFcn put this:
set(handles.uipanel1,'SelectedObject',[])
Where uipanel1 is the name of the buttongroup. If you don't know the required name, first open your GUI then do this:
H = findall(0,'type','uipanel')
get(H,'tag') % The name is in here..
  1 Comment
satendra kumar
satendra kumar on 10 Nov 2012
worked :) thanks

Sign in to comment.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2012
set(handles.radiobutton1,'value',0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by