Children of Button Groups Not Properly Initiated In GUI

1 view (last 30 days)
I am experiencing a strange phenomenon when I run a GUI that I created in GUIDE. When I run the GUI, the items inside of button groups sometimes become useless and their text strings disappear. It's as if being in the button group caused them to not initialize properly. It is difficult to tell when the problem will occur and when it will not, but rebooting my MATLAB environment typically gives me one shot at a working GUI.
I've tracked down the handle information for one of the objects that is being affected by the problem. Below is the information, first for the button when it is working normally, and then for the button when it is broken. You can see that Callback, String, and Tag are rendered empty. Also, I transform the Units of all of my objects to Normalized in the OpeningFcn, and you can see that the broken button is unaffected by this transformation.
Normal Button Handle Info
BackgroundColor: [0.9412 0.9412 0.9412]
BeingDeleted: 'off'
BusyAction: 'queue'
ButtonDownFcn: ''
Callback: @(hObject,eventdata)EADS_GUI('Push21_1_Callback',hObject,eventdata,guidata(hObject))
CData: []
Children: [0x1 double]
Clipping: 'on'
CreateFcn: ''
DeleteFcn: ''
Enable: 'on'
Extent: [0 0 0.0184 0.0182]
FontAngle: 'normal'
FontName: 'MS Sans Serif'
FontSize: 8
FontUnits: 'points'
FontWeight: 'normal'
ForegroundColor: [0 0 0]
HandleVisibility: 'on'
HitTest: 'on'
HorizontalAlignment: 'center'
Interruptible: 'on'
KeyPressFcn: ''
ListboxTop: 1
Max: 1
Min: 0
Parent: 451.0022
Position: [0.0301 0.3235 0.1221 0.6471]
Selected: 'off'
SelectionHighlight: 'on'
SliderStep: [0.0100 0.1000]
String: 'Simple'
Style: 'pushbutton'
Tag: 'Push21_1'
TooltipString: ''
Type: 'uicontrol'
UIContextMenu: []
Units: 'normalized'
UserData: []
Value: 0
Visible: 'on'
Empty Button Handle Info
BackgroundColor: [0.9412 0.9412 0.9412]
BeingDeleted: 'off'
BusyAction: 'queue'
ButtonDownFcn: ''
Callback: ''
CData: []
Children: [0x1 double]
Clipping: 'on'
CreateFcn: ''
DeleteFcn: ''
Enable: 'on'
Extent: [0 0 0.8000 0.3077]
FontAngle: 'normal'
FontName: 'MS Sans Serif'
FontSize: 8
FontUnits: 'points'
FontWeight: 'normal'
ForegroundColor: [0 0 0]
HandleVisibility: 'on'
HitTest: 'on'
HorizontalAlignment: 'center'
Interruptible: 'on'
KeyPressFcn: ''
ListboxTop: 1
Max: 1
Min: 0
Parent: 451.0021
Position: [3.4000 0.8462 13.8000 1.6923]
Selected: 'off'
SelectionHighlight: 'on'
SliderStep: [0.0100 0.1000]
String: ''
Style: 'pushbutton'
Tag: ''
TooltipString: ''
Type: 'uicontrol'
UIContextMenu: []
Units: 'characters'
UserData: []
Value: 0
Visible: 'on'
I have images of the normal and broken GUI that I can share if anybody is interested. Help on the subject will be greatly appreciated.
Version: MATLAB R2009b
Regards, Jeff

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!