www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@tradeoffBrowserDisplay/executeCommand.m
function executeCommand(obj, cmdString) %EXECUTECOMMAND Execute the name callback command % % EXECUTECOMMAND(OBJ, CMDSTRING) provides a programmatic interface for % invoking many of the callback commands in the tradeoff GUI. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. cmdStruct = obj.pGetCommands; if isfield(cmdStruct, cmdString) feval(cmdStruct.(cmdString), obj); else error(message('mbc:cgtradeoffgui:tradeoffBrowserDisplay:InvalidArgument2', cmdString)); end