How do u check for the existence of a variable in base workspace from main GUI file?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How do u check for the existence of a variable in base workspace from main GUI file?
0 Kommentare
Antworten (1)
the cyclist
am 25 Apr. 2013
Bearbeitet: the cyclist
am 25 Apr. 2013
I am not very knowledgeable about GUIs, so there is almost certainly a better way, but one way to do this would be with the evalin() function. Specifically, I think you could check for the existence of the variable x with
>> tf = evalin('base','exist(''x'')')
Type
>> doc evalin
for details.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!