MATLAB: Wats the reason for the error given, in entering text in edit box??

urgent

Hey wats the reason for this error?? Its generated while executing the code for writing string into a edittext box. ————- Subscript indices must either be real positive integers or logicals.
Error in ==> Image_Classification>pushbutton2_Callback at 1736 set(handles.text3,'String','edit');
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> Image_Classification at 42 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)Image_Classification('pushbutton2_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback

Best Answer

That could happen if you accidentally created a variable named "set".