Hi, I have if statement, to change added value in GUI edit text button if it is greater than 16. Right now it isn't working, what I should change in it? Part of code:
function etfM_Callback(hObject, eventdata, handles)global fM;fM = get(hObject,'String'); if fM>16 fM = 'NaN'; set(handles.etfM, 'String', fM); end
Best Answer