How can I check from Matlab script if the pushbutton is pressed?
Show older comments
% matlab code
myGui; % I am calling now GUI, which has 3 push buttons
now I should check, which of the buttons is pressed?
if the button1 is pressed
do something (matlab code)
elseif button2 is pressed
do something (matlab code)
else
do something (matlab code)
So, how can I check if the Button is pressed from matlab script?
Accepted Answer
More Answers (0)
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
