How to plot 'Reset' button at Matlab GUI
Ältere Kommentare anzeigen
i want to programmed a reset button what is the syntax or code that i can inserted. ok, this is an example if i want programmed a 'SAVE' button i used this syntax in matlab gui
Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
g=get(handles.axes2,'Userdata');
savePlotWithinGUI(g);
But how to programmed a 'RESET' button using same syntax like above.
This 'RESET' button is used for refresh the axes handles.
4 Kommentare
Jing
am 7 Mär. 2013
Can you give more details? Is it just a button? uicontrol('Style', 'pushbutton', 'String', 'Reset')?
Jan
am 7 Mär. 2013
I've closed this question, because it does not contain enough details to be answered. Please diti the question and add the relevant information to re-open the thread.
Walter Roberson
am 11 Mär. 2013
Please explain what you want the RESET button to do.
Siti Nor Arma Bt Mohd Zainun
am 11 Mär. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Environment and Settings 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!