필터 지우기
필터 지우기

Compiler - Can't start Matlab engine

조회 수: 7 (최근 30일)
Pascal Meyer
Pascal Meyer 2011년 7월 15일
Hello,
I tried to compile fengdemo.f with the matlab mex command. Matlab compiles the Fortran code without any error message. When I try to run the created fengdemo.exe I just get the message Can't start Matlab engine. I ran Dependency Walker on the file. Basically it can't find a bunch of .dll files. I'm wondering if I have to change something in the windows environment path?
Thanks, Pascal

채택된 답변

Friedrich
Friedrich 2011년 7월 15일
Hi,
try to register MATLAB as COM server. Simply run this in MATLAB:
regmatlabserver
And make sure the bin\win32 or \win64 is on your windows PATH environment variable since e.g. libeng.dll is located there.
  댓글 수: 2
Pascal Meyer
Pascal Meyer 2011년 7월 15일
Thanks for the quick reply. Now I can run fengdemo.exe from the Matlab command prompt using !fengdemo.exe .
However, I can't just double click on the file to run it. I get the error message that libut.dll is missing.
Friedrich
Friedrich 2011년 7월 15일
Like I said above:
And make sure the bin\win32 or \win64 is on your windows PATH environment variable since e.g. libeng.dll is located there.
Also libut.dll is located there. You can find these folders in your matlab installation folder.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by