⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disp.m

📁 Video IO toolbox for matlab. 用directshow做的
💻 M
字号:
function disp(vr)
%DISP(vr) displays a videoWriter object without printing its name.

ctor = class(vr);

% merge Matlab-side and plugin-side metadata
einfo = struct(vr);
info = getinfo(vr);
fnames = fieldnames(info);
for i=1:length(fnames)
  fname = fnames{i};
  einfo.(fname) = info.(fname);
end
einfo = orderfields(einfo);

% make pretty plugin name...the way the constructor expects it
if isfield(einfo, 'plugin') && strmatch([ctor '_'], einfo.plugin) 
  einfo.plugin = einfo.plugin(length(ctor)+2:end);
end

% actual display
disp(['  ' ctor ' object']);
if ~isequal(get(0,'FormatSpacing'),'compact')
  disp(' ');
end
disp(einfo);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -