?? iscellstr.m
字號:
function tf = iscellstr(s)
%ISCELLSTR True for cell array of strings.
% ISCELLSTR(S) returns 1 if S is a cell array of strings and 0
% otherwise. A cell array of strings is a cell array where
% every element is a character array.
%
% See also CELLSTR, ISCELL, CHAR, ISCHAR.
% Copyright 1984-2003 The MathWorks, Inc.
% $Revision: 1.17.4.2 $ $Date: 2004/04/10 23:32:38 $
if isa(s,'cell'),
res = cellfun('isclass',s,'char');
tf = all(res(:));
else
tf = false;
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -