• Advertisement
Sign in to follow this  

matlab7 and VC++.Net2005

This topic is 3955 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I had set the two paths as include and library directory. D:\MATLAB7\extern\include D:\MATLAB7\extern\lib\win32\microsoft\msvc71 But It still appear some error(seem to lacking lib files) as below: 1>engdemo.obj : error LNK2019: unresolved external symbol _engClose referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _mxGetClassName referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _engGetVariable referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _engOutputBuffer referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _mxDestroyArray referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _engEvalString referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _engPutVariable referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _mxGetPr referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _mxCreateDoubleMatrix referenced in function _main 1>engdemo.obj : error LNK2019: unresolved external symbol _engOpen referenced in function _main

Share this post


Link to post
Share on other sites
Advertisement
I forget to include libeng.lib libmx.lib into Linker's Input.
Could someone tell me the function name that calls the matrix multiplification of matlab 7 using in VC++?

Share this post


Link to post
Share on other sites
mlfMTimes?

See the articles at codeproject for more information:

http://www.codeproject.com/samples/MATLAB_C_API.asp
http://www.codeproject.com/samples/matlab_cpp.asp
http://www.codeproject.com/samples/matlabeng.asp

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement