gptoolbox icon indicating copy to clipboard operation
gptoolbox copied to clipboard

have some problems on but matlab cannot be found

Open assassout opened this issue 5 years ago • 2 comments

Hi Alec. I trying to compiling '/mex' on linux with command like "cmake ../ -DMatlab_ROOT_DIR=/usr/local/MATLAB/R2018". I'm pretty sure anything else is right but error came out like " CMake Error at /usr/share/cmake3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find Matlab (missing: MAT_LIBRARY)" could you please give me suggestion? thanks in advance.

assassout avatar Jul 15 '20 07:07 assassout

Did you solve this issue? I'm having the same problem.

inesdfelix avatar Aug 20 '20 00:08 inesdfelix

This is often because the matlab version you have is not in the

  "R2020b=9.9"
  "R2020a=9.8"
  "R2019b=9.7"
  "R2019a=9.6"
  "R2018b=9.5"
  "R2018a=9.4"
  "R2017b=9.3"```

list of mex/cmake/FindMATLAB.cmake . Which version of matlab do you have?

alecjacobson avatar Sep 03 '20 15:09 alecjacobson