Clear vairables in workspace using gui pushbutton callback??
古いコメントを表示
Hi guys,
here is my problem:
i load a mat file that contains several variables before i run my gui. I use these variables with the help of "evalin" command in my gui callbacks.
Let say my workspace variables are these : A cell , B cell , C double,... goes on.
I want to clear all variables in the workspace window using a push button callback.
" I want to clear variables that i loaded before i run my gui".
(i read some answers and there was a conflict about the workspace term. I MEAN THE VARIABLES APPER IN MATLAB WORKSPACE WINDOW, NOT THE GUI WORKSPACE. )
2 件のコメント
Pathmashantha Senanayaka
2020 年 12 月 30 日
I am university student. I am doing my final project using matlab guide. But i am new to matlab. So, can you please help me.
Geoff Hayes
2021 年 1 月 4 日
Pathmashantha - you may want to elaborate on what you need help with.
採用された回答
その他の回答 (1 件)
HAMZA ABBASI
2018 年 6 月 24 日
0 投票
clear object name like (clear a) will not work.... write clear all statement in the first line of code
カテゴリ
ヘルプ センター および File Exchange で Workspace Variables and MAT Files についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!