Use of C++ External Interfaces API with Matlab Compiler Run Time

I am writting a C++ App that calls some matlab shared libraries compiles with the matlab compiler. The target machines will only have teh Matlab runtime on them.
Can I still use the external interfaces API functions in my program? (For example #include "mat.h" in my program, and call matOpen / matClose) will these call work without a full up matlab installation?
Thanks Mike

 采纳的回答

The following section of the MATLAB documentation tells you which libraries are needed to be able to use the MAT-File API from external applications:
http://www.mathworks.com/help/techdoc/matlab_external/f19027.html#f42537
So that is libmat.dll and libmx.dll. As these DLLs are both included in the MCR, the answer to your question would be: yes this should work with a MCR (and no full MATLAB) installation.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 C Shared Library Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by