필터 지우기
필터 지우기

MATLAB MEX Compile error

조회 수: 2 (최근 30일)
Chuck DeCarlucci
Chuck DeCarlucci 2018년 11월 16일
답변: Chuck DeCarlucci 2018년 11월 20일
I am getting a "MX_TARGET_API_VER" is not defined in this scope error MEX compiling a code with mex.h and matrix.h included.
I am using MATLAB 2018b.
I have other code that is similar but do not get a similar error. I posted a comment to a similar problem with MATLB 2016b so I am surprised to se the error occuring in a newer version.
Is there a fix for this problem?

답변 (2개)

James Tursa
James Tursa 2018년 11월 16일
Download this matlab_version.h header file from the FEX:

Chuck DeCarlucci
Chuck DeCarlucci 2018년 11월 20일
Ended up with a different problem and solution. Did not need to use the solution provided.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by