필터 지우기
필터 지우기

When running cpp file in matlab, there is a problem of calling mex in error, how to solve it

조회 수: 4 (최근 30일)

답변 (1개)

Shreeya
Shreeya 2024년 7월 3일 9:48
편집: Shreeya 2024년 7월 3일 9:49
Hey
The error code in the output is C3861. This error code suggests that an identifier is missing. You can start by looking if the appropriate headers are declared in the files. I'm also linking the MS documentation of this error code if the suggested solution does not resolve the issue:
The answer in this link suggests that certain functions require a specific MATLAB version as a flag.
Also have a look at the documentation of mxGetPtr: https://www.mathworks.com/help/matlab/apiref/mxgetpr.html
Looks like this function is depreciated, updating the code might help too
Let me know if this resolves the problem!

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by