Do I need to include "matlab.h" in the driver application that uses MATLAB Compiler 4.0 (R14) generated C shared library?

조회 수: 1 (최근 30일)
I am trying to build a driver application that uses a MATLAB Compiler 4.0 (R14) generated C shared library with the MBUILD command. I am not sure if I have to include "matlab.h" header in the driver application, because I am used to include in driver applications that use C shared library target generated in previous versions.

답변 (1개)

Murugavel Sivagnanam
Murugavel Sivagnanam 2011년 1월 12일
The "matlab.h" header is no longer need to be included in the driver applications that use C shared libraries. To build an application that uses a MATLAB Compiler generated C shared library, include only the header file that gets generated along with the C shared library.
For additional information, please look at the link below for an example on C shared library target:
http://www.mathworks.com/help/toolbox/compiler/f2-972343.html#f2-1000836

카테고리

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