How Can I close a video while playing in MATLAB GUI
6 views (last 30 days)
Show older comments
The following error I get it while running a code file
Reference to non-existent field 'aviobj'.
Error in final>CloseVideo_Callback (line 287) handles.aviobj
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in final (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)final('CloseVideo_Callback',hObject,eventdata,guidata(hObject))
0 Comments
Accepted Answer
Walter Roberson
on 17 Feb 2013
After you assigned a value to handles.aviobj, did you use
guidata(hObject, handles)
to update the master copy of the handles structure?
8 Comments
Walter Roberson
on 17 Feb 2013
Make sure you use VideoReader with capital V and capital R, not lower-case R.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!