I have created a C++ project in Microsoft Visual Studio .NET which uses the C MATLAB engine API's. I included the engine.h file that is located in the $MATLABROOT/extern/include (where $MATLABROOT is the MATLAB root directory on my machine, as returned by typing
matlabroot
at the MATLAB command prompt.)
When I build the project I get error messages of the form: ERROR: LNK2019: unresolved external symbol _engOpen referenced in function LNK2019: unresolved external symbol _engClose referenced in function
Best Answer