Use of C++ External Interfaces API with Matlab Compiler Run Time
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Martijn
2011년 2월 2일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 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!