⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getn.m

📁 《精通matlab7》“mastering matlab 7”的代码。
💻 M
字号:
function varargout=getn(H,varargin)
%GETN Get Multiple Object Properties.
% [Prop1,Prop2,...] = GETN(H,PName1,PName2,...) returns the requested
% properties of the scalar handle H in the corresponding output arguments.
%
% For example, [Xlim,Ylim,Xlabel] = GETN(gca,'Xlim','Ylim','Xlabel')
% returns the requested axes properties in like-named output variables.
%
% This simplifies the construct
% [Xlim,Ylim,Xlabel] = deal(get(gca,{'Xlim','Ylim','Xlabel'}))

if max(size(H))~=1 || ~ishandle(H)
   error('Scalar Object Handle Required.')
end
varargout=get(H,varargin);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -