I am following the Getting Started tutorial on the MathWorks website for " Build C++ Engine Programs ." The tutorial says to set up the compiler for C++ engine application using the mex method. This generates an error in Matlab saying libMatlabEngine.lib cannot be found. I have searched my entire Linux machine and cannot locate either the libMatlabEngine.lib or libMatlabDataArray.lib files. The documentation says the files should be found at matlabroot/extern/bin/glnxa64/ however the extern directory does not contain a bin folder.
The documentation says Matlab comes with the C++ API but I cannot seem to find any trace of it on either my Mac running 2016b or my Linux running 2017a. Please help, thanks!

 채택된 답변

Steven Lord
Steven Lord 2017년 9월 26일

1 개 추천

The Release Notes state that this API was introduced in release R2017b. It is not available in older releases.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

질문:

2017년 9월 26일

답변:

2017년 9월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by