3 isQuotingSkipped=
false;
7 origSizeVec=size(inpCMat);
9 inpCMat=reshape(inpCMat,origSizeVec(1),[]);
18 if ~(isMatrixStyle||isQuotingSkipped)
19 inpCMat=cellfun(@(x)sprintf(
'''%s
''',strrep(x,
'''','''''')),...
20 inpCMat,
'UniformOutput',
false);
25 resStr=[
'[',resStr(1:end-1),
']'];
27 resStr=[
'{',resStr(1:end-1),
'}'];
30 resStr=[
'reshape(',resStr,
',',mat2str(origSizeVec),
')'];
function cellstr2expression(in inpCMat, in isMatrixStyle, in isQuotingSkipped)
CELLSTR2EXPRESSION creates Matlab expression based on cell matrix of expressions corresponding to the...