Info

此问题已关闭。 请重新打开它进行编辑或回答。

I can't connect my webcam in GUI matlab

1 次查看(过去 30 天)
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 个评论
Jan
Jan 2017-6-2
编辑:Jan 2017-6-2
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.

回答(1 个)

Walter Roberson
Walter Roberson 2017-6-2
You need to rename guiconnect.m to webcam1.m and you need to rename guiconnect.fig to webcam1.fig

此问题已关闭。

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by