%% Determine Modified Character Vectors

S = {'a%name', 'name_1', '2_name'};
[N, modified] = matlab.lang.makeValidName(S)

% makeValidName did not modify the second element.
% Copyright 2012 The MathWorks, Inc.