[MATLAB] another fix related to passing mxArray