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

📄 iexit.m

📁 Video IO toolbox for matlab. 用directshow做的
💻 M
字号:
function iexit(varargin)
%IEXIT(...)
%  Decreases the indentation level then calls IPRINTF on the input
%  arguments.  If no input args are used, a message is created using the
%  caller's function or script name.  Useful for debugging/tracing.
%
%  If an unhandled error occurs between calls to ienter and iexit, the
%  indentation level will not be properly reset.  To reset it, type
%     clear all
%
%Example:
%  function d = foo
%  ienter;
%  d = 2+2;
%  iprintf('2+2=%d', d);
%  iexit;

global videoIO_test_indentLevel;
if (isempty(videoIO_test_indentLevel))
  videoIO_test_indentLevel = 0;
end

if (nargin == 0)
  st = dbstack;
  iexit('...%s', st(2).name);
elseif (nargin == 1 && isnumeric(varargin{1}))
  st = dbstack;
  iexit(varargin{1}, '...%s', st(2).name);
else
  videoIO_test_indentLevel = videoIO_test_indentLevel - 1;
  iprintf(varargin{:});
end

⌨️ 快捷键说明

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