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!

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 26 Mai 2017

Community Treasure Hunt

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

Start Hunting!

Translated by