Azzera filtri
Azzera filtri

Compiler - Can't start Matlab engine

7 visualizzazioni (ultimi 30 giorni)
Pascal Meyer
Pascal Meyer il 15 Lug 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

Risposta accettata

Friedrich
Friedrich il 15 Lug 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 Commenti
Pascal Meyer
Pascal Meyer il 15 Lug 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 il 15 Lug 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Fortran with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by