www.gusucode.com > datamanager 工具箱matlab源码程序 > datamanager/@datamanager/@brushmanager/getVarNames.m
function [varNames,I] = getVarNames(h,mfilename,fcnname) % Returns the names of variables brushed within a particular workspace I = find(strcmp(mfilename,h.DebugMFiles) & strcmp(fcnname,h.DebugFunctionNames)); varNames = h.VariableName(I);