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 ExchangeInteractive 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