Filter löschen
Filter löschen

Compiler - Can't start Matlab engine

7 Ansichten (letzte 30 Tage)
Pascal Meyer
Pascal Meyer am 15 Jul. 2011
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

Akzeptierte Antwort

Friedrich
Friedrich am 15 Jul. 2011
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 Kommentare
Pascal Meyer
Pascal Meyer am 15 Jul. 2011
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 am 15 Jul. 2011
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Fortran with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by