Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I solve DiskLogger file error.
2 次查看(过去 30 天)
显示 更早的评论
Rajesh
2013-3-9
The following error I'm getting in GUI:
winvideo: Error writing data to the DiskLogger file. Failed to find the open file handle.
Error using hgMovie Invalid movie: expected a structure
Error in movie (line 41) builtin('hgMovie',varargin{:});
9 个评论
Rajesh
2013-3-9
编辑:Walter Roberson
2013-3-9
After Recording Video, it unable to play due to DiskLogger error, plz plz solve this proble Here I'm giving my Play Video Code uisng GUI
%%%code
if ~isfield(handles, 'format')
h = warndlg('Video setting is not ready, redo it','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
if isempty(ls([handles.directory, '*avi']))
h = warndlg('Video not take yet, take video first!!!','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
h = warndlg(['May be very slow!!'],'!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
axes(handles.movieshow)
% mov = cell(1, loopnumber);
for k=1:handles.loopnumber
mov = VideoReader([handles.directory handles.filenameprefix num2str(k) '.avi']);
movie(mov);
clear mov
end
set(vid, 'LoggingMode')
% update handles
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
Rajesh
2013-3-9
编辑:Walter Roberson
2013-3-9
if ~isfield(handles, 'format')
h = warndlg('Video setting is not ready, redo it','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
if isempty(ls([handles.directory, '*avi']))
h = warndlg('Video not take yet, take video first!!!','!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
return;
end
h = warndlg(['May be very slow!!'],'!! Warning !!');
pause (5);
if ishandle(h), close (h); end;
axes(handles.movieshow)
% mov = cell(1, loopnumber);
for k=1:handles.loopnumber
mov = VideoReader([handles.directory handles.filenameprefix
num2str(k) '.avi']);
movie(mov);
clear mov
end
set(vid, 'LoggingMode')
% update handles
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
Walter Roberson
2013-3-9
Rajesh
2013-3-9
finally the following error is occurred:
Error using hgMovie Invalid movie: expected a structure
Error in movie (line 41) builtin('hgMovie',varargin{:});
Error in kiituniv>PlayVideo_Callback (line 277) movie(mov);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in kiituniv (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)kiituniv('PlayVideo_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
此问题已关闭。
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)
