Borrar filtros
Borrar filtros

Compiler - Can't start Matlab engine

7 visualizaciones (últimos 30 días)
Pascal Meyer
Pascal Meyer el 15 de Jul. de 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

Respuesta aceptada

Friedrich
Friedrich el 15 de Jul. de 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 comentarios
Pascal Meyer
Pascal Meyer el 15 de Jul. de 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 el 15 de Jul. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Fortran with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by