Matlab engine for C++

조회 수: 12 (최근 30일)
Jie Yin
Jie Yin 2015년 2월 10일
답변: Johannes Sedlmeier 2016년 2월 29일
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
Johannes Sedlmeier 2016년 2월 29일
You need to link it against some libraries provided by matlab.
Here you can find the correct steps:

카테고리

Help CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by