Mex problem, can't find the .exp file
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Walter Roberson
on 4 Jan 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.
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!