?? isteststring.m
字號:
function tf = isTestString(str)
%isTestString True if string looks like the name of a test
% tf = isTestString(str) returns true if the string str looks like the name of
% a test. If str is a cell array of strings, then isTestString tests each
% string in the cell array, returning the results in a logical array with the
% same size as str.
% Steven L. Eddins
% Copyright 2008-2009 The MathWorks, Inc.
test_exp = '^[tT]est';
tf = mtest.utils.containsRegexp(str, test_exp);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -