Add radio buttons in figure
古いコメントを表示
I'm new to user interfacing in matlab. I want to display 3 radio buttons along with figure (or each of subplots) which will allow me to select one of them. And i want to return the selected button number when i close figure.
How can I do this.?
please help as soon as possible.
Thanks in advance for any help.
回答 (2 件)
Arnaud Miege
2011 年 5 月 24 日
0 投票
You probably need to create a user interface using guide. See Creating Graphical User Interfaces in the MATLAB documentation.
HTH,
Arnaud
2 件のコメント
nitin thokare
2011 年 5 月 24 日
Arnaud Miege
2011 年 5 月 24 日
I'm afraid there isn't a quick solution, you really need to spend time to learn this stuff.
Sean de Wolski
2011 年 5 月 24 日
0 投票
Or you could look for code on the FEX that does it already and then use the relevant portions. A hint: my IMCENSOR function uses four exclusive radio buttons.
カテゴリ
ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!