www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepset/makeValidNames.m
function ss = makeValidNames(ss) %MAKEVALIDNAMES ensures that the variable names in a sweepset are valid % % SS = MAKEVALIDNAMES(SS) % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. [names, changes] = generateValidUniqueNames({ss.var.name}); % Do we need to copy back new names? if any(changes) [ss.var.name] = deal(names{:}); end