필터 지우기
필터 지우기

Gurobi mex file cannot be found despite it being clearly there

조회 수: 14 (최근 30일)
Alessandro Maria Laspina
Alessandro Maria Laspina 2022년 1월 4일
댓글: Walter Roberson 2022년 12월 2일
Hello,
I have downloaded Gurobi 9.5.0 along with its license (academic). I am unsure if this is a gurobi side issue or if its MATLAB, but whenever I try to use Gurobi with YALMIP, or even just run the setup for the paths, I get the following error:
Error using gurobi_setup (line 89)
Invalid MEX-file 'C:\gurobi950\win64\matlab\gurobi.mexw64': The specified module could not be found.
What is odd is that the mex file is called exactly the same name as specified in the error, and has the exact same path.
  댓글 수: 4
Jan
Jan 2022년 12월 2일
@Bharath Attoti: Yes, look in the section for answers below to find a tool to determine which module is missing. It might be a runtime of the compiler. Then install this missing library.
Walter Roberson
Walter Roberson 2022년 12월 2일
I agree, missing runtime library. It might possibly be something like a Visual C runtime library. It might possibly be that some code needed to be compiled but has not been compiled. It might possibly be that the needed runtime library file already exists but is for an incompatible version such as if it were a 32 bit version; if so then it would need to be recreated.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2022년 1월 4일
Use the Dependency Walker to find out, which library is missing:
This might be the runtime libraries of the compiler.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by