ajaiantilal / randomforest-matlab

Automatically exported from code.google.com/p/randomforest-matlab
6 stars 6 forks source link

mex compilation issue with Matlab 2016a #72

Open Bennasar opened 7 years ago

Bennasar commented 7 years ago

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.