📄 finduicontrols.m
字号:
function ui=finduicontrols(hfig)%FINDUICONTROLS Find all the uicontrols in the figure%% UI=FINDUICONTROLS(HFIG)%% HFIG is the figure handle (default gcf)% UI is the vector of all the uicontrols handles.%% Claudio Apr 10, 1995%%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu, mark@alice.uoregon.edu%if nargin >1 error('Too many input arguments.');endif nargin == 0 hfig=gcf;endch=get(hfig, 'children');for i=1:length(ch) type=get(ch(i), 'type'); if strcmp(type, 'uicontrol') ui=[ui ch(i)]; endendreturn
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -