www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgmodelnode/cgbsupport.m

    function supp=cgbsupport(nd, pSub, supp)
%CGBSUPPORT Get cgbrowser supported options
%
%  SUPP=CGBSUPPORT(OBJ, pSUB, SUPP) where SUPP is a structure of options
%  and pSUB is a pointer to the subitem to be shown, gets the options for
%  this particular node/subitem combination.

%  Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc.


supp.allowremoval=true;
supp.allowduplication=true;
supp.surfaceviewer=true;
supp.helptopics={'&Model Help','CGMODELVIEW'};
supp.relabelcallback = @i_refreshlist;



function i_refreshlist(cgb, evt)
cgb.doDrawList('updateall');