Matlab engine for C++
显示 更早的评论
I am trying to call Matlab functions from C++, but keep getting error error 'LNK2019: unresolved external symbol _engOpen'. I liked all the paths to Lib and include from /matlab/extern to Visual Studio, and added 'libeng.lib' but still no luck.
I am using VisualStudio professional 2013 and Matlab 2014b. Is this a good combination?
Thanks a lot!
回答(1 个)
Johannes Sedlmeier
2016-2-29
0 个投票
You need to link it against some libraries provided by matlab.
Here you can find the correct steps:
类别
在 帮助中心 和 File Exchange 中查找有关 Call MATLAB from C 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!