how to clear variable
Show older comments
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!
Answers (0)
Categories
Find more on Get Started with MATLAB 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!