radio buttons not updating

Hello,
I had to edit a gui Written a while ago by adding a box with two radio buttons on it. I cannot however get the m-file to update and show the functions that allow me to use the buttons.
The two buttons show up on the "Tag Order Editor" I haven't had this problem before. Any suggestions on how to update the existing code?
Thank you as always

回答(2 个)

Jan
Jan 2011-9-29

1 个投票

I guess, that the radio buttons use pixel values as positions, but normalized units. Then the buttons are there, but far beyond the limits of the window.
Bastion
Bastion 2011-10-1

0 个投票

Hey William, I also encountered this problem while building my GUI.
I don't know the reason why but if you make a radiobutton outside of the panel (your box) then the M-file will update the new radiobutton as a callback in your M-file.
Then simply move the radiobutton into that panel.

类别

帮助中心File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

提问:

2011-9-29

Community Treasure Hunt

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

Start Hunting!

Translated by