What value have a variable 'edit text' in guide if the variable doesn't have any value in the interface……
T = str2num(get(handles.TM,'string'));
TM is a edit text in guide, but if TM doesn't have anything what value has? is for do the next:
T = str2num(get(handles.TM,'string'));if T==[] T=0.001;end
I put [] but doesn't work
Best Answer