3 nElems=numel(inpStrList);
5 outStr=horzcat(outStr, inpStrList{iElem}, sepStr); %#ok<AGROW>
7 nSepSymb=length(sepStr);
8 outStr=outStr(1:(end-nSepSymb));
function catwithsep(in inpStrList, in sepStr)
CATWITHSEP concatenates input cell array of strings inserting a specified separator between the strin...