Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Accepted Answer

Martijn
Martijn on 2 Feb 2011
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.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!