I'm trying to compile mex files, I keep getting error massages:
" C:\Program files\MATLAB\R2016a/extern/include/matrix.h:779:46: note: initializing argument 4 of 'mxArray* mxCreateNumericMatrix_700(int, int, mxClassID, mxComplexity)",
"error: invalid conversion from 'int' to 'mxComplexity' [-fpermissive] plhs[13] = mxCreateNumericMatrix(1, 1, mxDOUBLE_CLASS, 0);"
However, the same compilation file works well with Matlab 2012b on the same computer?, I'd be very grateful if you have any suggestions to solve this problem.
I'm trying to compile mex files, I keep getting error massages: " C:\Program files\MATLAB\R2016a/extern/include/matrix.h:779:46: note: initializing argument 4 of 'mxArray* mxCreateNumericMatrix_700(int, int, mxClassID, mxComplexity)", "error: invalid conversion from 'int' to 'mxComplexity' [-fpermissive] plhs[13] = mxCreateNumericMatrix(1, 1, mxDOUBLE_CLASS, 0);" However, the same compilation file works well with Matlab 2012b on the same computer?, I'd be very grateful if you have any suggestions to solve this problem.