###### test if executable matlab is in the path ######
#if (BUILD_MATLAB_MEX_FILES)
...
...
@@ -175,6 +173,5 @@ else()
message(WARNING "Matlab executable seems not to be in the path. So \"MATLAB_ROOT\" and \"MATLAB_INCLUDE_DIR\" wont'be defined and mex files won't be compiled. if matlab is installed on your computer, please add matlabroot/bin tu the PATH and try again.")