📄 isappdata.m
字号:
function result = isappdata(handle, name)
%ISAPPDATA True if application-defined data exists.
% ISAPPDATA(H, NAME) returns 1 if application-defined data with
% the specified NAME exists on the object specified by handle H,
% and returns 0 otherwise.
%
% See also SETAPPDATA, GETAPPDATA, RMAPPDATA.
% Damian T. Packer, May 1998
% Copyright 1984-2002 The MathWorks, Inc.
% $Revision: 1.8 $ $Date: 2002/04/08 22:41:30 $
if length(handle) ~= 1, error('H must be a single handle.'); end
result = isfield(get(handle, 'ApplicationData'), name);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -