updating MATLAB_CodeGen to ouput a functional MATLAB cell array