www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/doDrawIcons.m
function doDrawIcons(h) % DODRAWICONS Redraw the current icons for the MBrowser % % h.doDrawIcons; % % Copyright 2000-2016 The MathWorks, Inc. and Ford Global Technologies, Inc. set(h.Hand.Figure.IconIm,'CData',h.CurrentNode.mbicon); [~,icnew,ic]=ChildType(h.CurrentNode.info); set(h.Hand.Toolbar.buttons(6),'CData',icnew); set(h.Hand.Figure.ChildImage,'CData',ic);