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

📄 findtag.m

📁 经验模式分解源码 学习希尔波特黄变换的参考程序 源于Internet网络
💻 M
字号:
%FINDTAG  locate objects with specific tag%% FINDTAG(STR)% Locate objects with specific tag STR%% FINDTAG(OBJECT_HANDLES,STR) % Restricts the search to objects listed in objhandles and their descendants.%% FINDTAG(...,'-depth',d)% The depth argument d controls how many levels under the handles in objhandles % are traversed. Specify d as inf to get the default behavior of all levels.% Specify d as 0 to restrict to the objects listed in OBJECT_HANDLES.%% Rem: In order for this to work properly, the object's tag field must be a string % containing keywords (or tags) separated by commas.%%% See also%  addtag, hastag, rmtag%% G.Rilling 12/2006% gabriel.rilling@ens-lyon.frfunction objs = findtag(varargin)if any(ishandle(varargin{1}))  lobj = varargin{1};  tag = regexptranslate('escape',varargin{2});  objs = findobj(lobj,'-regexp','Tag',['(\W|^)',tag,'(\W|$)'],varargin{3:end});else  tag = regexptranslate('escape',varargin{1});  objs = findobj('-regexp','Tag',['(\W|^)',tag,'(\W|$)'],varargin{2:end});end

⌨️ 快捷键说明

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