setting radiobutton value by program
Ältere Kommentare anzeigen
I have a panel with several radiobuttons so that only one of them is selected at the time, it works fine with my mouse. However, I want to create a pushbutton that when I push it will select a specific radiobutton on the panel
So for example I have radiobuttons A B and C and I clicked on C at one time then with the pushbutton I want to set A again as if I have clicked A with my mouse.. how can I do that??
Thank you in advance...
Akzeptierte Antwort
Weitere Antworten (1)
Josiah Brough
am 20 Mai 2024
Verschoben: Image Analyst
am 22 Mai 2024
Also works with:
app.ButtonGroup.SelectedObject = app.ButtonA;
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!