How Can I close a video while playing in MATLAB GUI

2 visualizaciones (últimos 30 días)
Rajesh
Rajesh el 17 de Feb. de 2013
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))

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Feb. de 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 comentarios
Walter Roberson
Walter Roberson el 17 de Feb. de 2013
Make sure you use VideoReader with capital V and capital R, not lower-case R.
Rajesh
Rajesh el 19 de Feb. de 2013
Thank You walter Roberson sir...:-)

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by