필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Mike  G
Mike G 2011년 2월 1일
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

채택된 답변

Martijn
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개)

카테고리

Help CenterFile 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