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

📄 t_skip.m

📁 可进行电力系统多节点系统的优化潮流计算
💻 M
字号:
function t_skip(cnt, msg)%T_SKIP  Skips a number of tests.%   t_skip(cnt, msg) increments the global test count and skipped tests%   count. Prints 'skipped tests x..y : ' followed by the msg, unless the%   global variable t_quiet is true. Intended to be called between calls to%   t_begin and t_end.%   MATPOWER%   $Id: t_skip.m,v 1.1 2004/08/25 13:24:24 ray Exp $%   by Ray Zimmerman, PSERC Cornell%   Copyright (c) 2004 by Power System Engineering Research Center (PSERC)%   See http://www.pserc.cornell.edu/matpower/ for more info.global t_quiet;global t_counter;global t_skip_cnt;if nargin < 2 | strcmp(msg, '')    msg = '';else    msg = [' : ', msg];endt_skip_cnt = t_skip_cnt + cnt;if ~t_quiet    fprintf('skipped tests %d..%d%s\n', t_counter, t_counter+cnt-1, msg);endt_counter = t_counter + cnt;return;

⌨️ 快捷键说明

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