how to clear variable

hay I have GUI code that extract 5 diffrent values from diffrent GUI in matlab using getappdata and setappdata. it works fine at the first time but when i use the gui again its show the variable from the first use. how can i "restart" the values every time i use GUI? i used clear and clearvars but it dont work.
thank you all!

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by