Mex problem, can't find the .exp file

2 visualizaciones (últimos 30 días)
WENJIE wu
WENJIE wu el 4 de En. de 2016
Comentada: WENJIE wu el 4 de En. de 2016
I'm trying to generate C code using Matlab Coder, and test the generated code with mexfunction. but some problem happened when I mex the .c file. I was using Matlab 2014a and the compiler was VS 2010. I type the command "mex a.c b.c c.c -output c.mexw64" in the command window to mex the .c file. and it displays the operation has been successful, but it also display can't find the c.exp file. So I want to know what's the .exp file? has anyone encountered the problem and how to solve it?

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de En. de 2016
.exp files are created when you have an export from a library, and contain symbol tables so that other code can link against the library, especially in the context of multiple libraries that might refer to each other.
  1 comentario
WENJIE wu
WENJIE wu el 4 de En. de 2016
Thank you, Walter! Is there anyway I can generate the .exp file manually?

Iniciar sesión para comentar.

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by