Reset button in Matlab GUI
显示 更早的评论
Hello
I am working with Mat lab GUI and it works. But I need to add a reset button so that that when the user wants to input other parameters, it clear all the input data and figure of the previous result.
Any idea please how to implement this.
Thank you
Matt
采纳的回答
更多回答(3 个)
David Sanchez
2013-5-10
to reset the plot use:
clf
type
help clf
for all the information you'll need
Sittichai Ouamaimphuet
2022-3-2
0 个投票
cla(handles.Diagram1,'reset')
Sittichai Ouamaimphuet
2022-3-2
0 个投票
cla(handles.Diagram1,'reset')
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!