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

1 Ansicht (letzte 30 Tage)
Mike  G
Mike G am 1 Feb. 2011
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

Akzeptierte Antwort

Martijn
Martijn am 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.

Weitere Antworten (0)

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by