Get a list of methods for a class and fill the list M Hewitson $Id: cb_classMethodList.html,v 1.4 2008/03/31 10:27:44 hewitson Exp $
0001 function cb_classMethodList(varargin) 0002 0003 % Get a list of methods for a class and fill the list 0004 % 0005 % M Hewitson 0006 % 0007 % $Id: cb_classMethodList.html,v 1.4 2008/03/31 10:27:44 hewitson Exp $ 0008 % 0009 0010 myh = varargin{1}; 0011 mainfig = varargin{4}; 0012 0013 id = findobj('Tag', 'methodInfoPanel'); 0014 0015 % get selected method 0016 id = findobj('Tag', 'classMethodList'); 0017 ostr = get(id, 'String'); 0018 oidx = get(id, 'Value'); 0019 0020 objStr = ostr(oidx); 0021 0022 id = findobj('Tag', 'methodInfoPanel'); 0023 0024 if length(oidx) == 1 0025 s = help(char(objStr)); 0026 set(id, 'String', s); 0027 end 0028