i get the following error , when i run the code for GUI for robot manupulator, please help me ....
22 views (last 30 days)
Show older comments
wahad rahmann
on 20 Dec 2018
Answered: Cris LaPierre
on 21 Dec 2018
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in untitled (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)untitled('btn_forward_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
0 Comments
Accepted Answer
Cris LaPierre
on 21 Dec 2018
Is your complete error message (including first line) this?
Undefined function or variable 'btn_forward_Callback'.
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in untitled (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)untitled('btn_forward_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
This first line is the key to the error I created. I deleted the callback function for a button I created called btn_forward. To fix it, I need to either delete the button from the fig file, or add the btn_forward_callback function back to the code file.
% --- Executes on button press in btn_forward.
function btn_forward_Callback(hObject, eventdata, handles)
% hObject handle to btn_forward (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
0 Comments
More Answers (0)
See Also
Categories
Find more on Robotics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!