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

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

 Accepted Answer

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

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!