?? changeguicolors.m
字號:
function changeGuiColors( handles )
obj = fieldnames(handles);
for n = 1 : length(obj)
h = handles.(obj{n});
if ~isempty(h)
flipColor( h );
end
end
function flipColor( h )
if isprop( h,'children')
children = get( h,'children' );
for n =1: length(children)
flipColor( children(n) );
end
end
for n=1:numel(h)
if isprop( h(n), 'color' )
c = get( h(n),'color' );
c = 1 - c;
set( h(n),'color',c );
end
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -