%% Construct Valid MATLAB Identifiers Using Specified Prefix

S = {'1stMeasurement','2ndMeasurement','Control'};
N = matlab.lang.makeValidName(S,'Prefix','m_')

% Only the elements that do not start with a letter are prepended with a prefix.
% Copyright 2012 The MathWorks, Inc.