Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

I can't connect my webcam in GUI matlab

1 view (last 30 days)
Adisorn Phanukthong
Adisorn Phanukthong on 2 Jun 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I attech file I find error * Error in gui_mainfcn (line 95) feval(varargin{:});
Error in webcam1 (line 42) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)webcam1('connect_Callback',hObject,eventdata,guidata(hObject)) *Error while evaluating UIControl Callback
  1 Comment
Jan
Jan on 2 Jun 2017
Edited: Jan on 2 Jun 2017
Please copy the complete error message. We see only, where the problem occurres, but now the explanation, what the problem is. The term "webcam1" does not even occur anywhere in the posted code. This means that the error appears in some other code. This is at least confusing for a discussion in the forum.

Answers (1)

Walter Roberson
Walter Roberson on 2 Jun 2017
You need to rename guiconnect.m to webcam1.m and you need to rename guiconnect.fig to webcam1.fig

This question is closed.

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!