parse_opts_tcase.m
来自「时间序列分析中很用的源码,书的原名为时间序列分析的小波方法.」· M 代码 · 共 69 行
M
69 行
function tc = parse_opts_tcase% parse_opts_tcase -- munit test case to test parse_opts.%%****f* toolbox.subdirectory/parse_opts%% NAME% parse_opts_tcase -- munit test case to test parse_opts.%% USAGE% run_tcase('parse_opts_tcase')%% INPUTS%%% OUTPUTS% tc = tcase structure for parse_opts testcase.%% SIDE EFFECTS%%% DESCRIPTION%%% SEE ALSO% parse_opts% % AUTHOR% Charlie Cornish%% CREATION DATE% 2005-07-20%% COPYRIGHT% (c) 2005 Charles R. Cornish%% CREDITS%%% REVISION% $Revision: 612 $%%***% $Id: parse_opts_tcase.m 612 2005-10-28 21:42:24Z ccornish $ tc = MU_tcase_new(mfilename);tc = MU_tcase_add_test(tc, @test_normal_default);returnfunction test_normal_default(mode) % Test Description: % Smoke test: Normal execution, default parameters opts = parse_opts('a', 1, 'b', 'xyz', 'c', {'abc', 'def', 'jkl'}); opts_list = {'a', 1, 'b', 'xyz', 'c', {'abc', 'def', 'jkl'}}; opts2 = parse_opts(opts_list); opt3 = parse_opts(opts); return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?