www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@svdata/getVariableName.m

    function n = getVariableName(obj,index)
%GETVARIABLENAME Returns the name of the specified input variable
%
% v = obj.getVariableName(index)
%

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


p = obj.variables(index);
n = p.getname;