Cannot locate C++ API Files

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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by