diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index 751741c4cf..3a13473d7e 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -1832,7 +1832,7 @@ set(_matlab_required_variables) # the MEX library/header are required find_path( Matlab_INCLUDE_DIRS - NAMES mex.h + NAMES mex.h matrix.h PATHS ${MATLAB_INCLUDE_DIR_TO_LOOK} NO_DEFAULT_PATH )