?? isfield.m
字號(hào):
function tf = isfield(s,f)
%ISFIELD True if field is in structure array.
% F = ISFIELD(S,'field') returns true if 'field' is the name of a field
% in the structure array S.
%
% See also GETFIELD, SETFIELD, FIELDNAMES.
% Copyright 1984-2002 The MathWorks, Inc.
% $Revision: 1.13 $ $Date: 2002/04/08 19:22:48 $
if isa(s,'struct')
tf = any(strcmp(fieldnames(s),f));
else
tf = logical(0);
end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -