how do i execute programm under group button only when i press push button??

the push button must be inside or outside the group button? i have one button (input image) will be selects the image and 4 radio buttons,i want to select one of them without executing that then when i press push button i want that file to execute.

2 Commenti

Try making your question more clear to elicit better responses from the MATLAB community.

Accedi per commentare.

Risposte (1)

You are not required to have a callback for your uibuttongroup or the radio buttons inside it. You can have the callback for your push button retrieve the SelectedObject property of the uibuttongroup to find out which button is pressed.

Community Treasure Hunt

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

Start Hunting!

Translated by