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 ExchangeGet Started with MATLAB についてさらに検索

タグ

質問済み:

2017 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by