I want to present several graphs such that when I click a push button beside a graph, the next in the series appears.
I tried the following code, but the push button those not influence the running.
PushButton = uicontrol(gcf,'Style', 'pushbutton', 'String', 'Next', 'Position', [300 10 30 30], 'Callback', 'pause');
How should I do this?
Best Answer