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

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

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 8일
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.

질문:

2015년 9월 8일

답변:

2015년 9월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by