MATLAB: Anyway to clear variable in Matlab workspace from app

clear variable in matlab workspace from app

Hi:
is there anyway to clear variable in Matlab workspace from app designer?
an workaround I know is to use 'assign' function, to assign an empty value to that variable. but I want know how to clear it.
Thanks!
Yu

Best Answer

evalin('base', 'clear VARIABLENAME')