Matlab engine for C++

14 Ansichten (letzte 30 Tage)
Jie Yin
Jie Yin am 10 Feb. 2015
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!

Antworten (1)

Johannes Sedlmeier
Johannes Sedlmeier am 29 Feb. 2016
You need to link it against some libraries provided by matlab.
Here you can find the correct steps:

Kategorien

Mehr zu Call MATLAB from C finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by