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
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
2017-6-2
You need to rename guiconnect.m to webcam1.m and you need to rename guiconnect.fig to webcam1.fig
0 个评论
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!