Engdemo.c not compiling in terminal

조회 수: 2 (최근 30일)
Alex Manak
Alex Manak 2020년 7월 28일
Hello,
I am trying to compile the engdemo.c file in terminal but it is not working, and I get this error:
Undefined symbols for architecture x86_64:
"_engClose", referenced from:
_main in engdemo-f79961.o
"_engEvalString", referenced from:
_main in engdemo-f79961.o
"_engGetVariable", referenced from:
_main in engdemo-f79961.o
"_engOpen", referenced from:
_main in engdemo-f79961.o
"_engOutputBuffer", referenced from:
_main in engdemo-f79961.o
"_engPutVariable", referenced from:
_main in engdemo-f79961.o
"_mexPrintf_800", referenced from:
_main in engdemo-f79961.o
"_mxCreateDoubleMatrix_800", referenced from:
_main in engdemo-f79961.o
"_mxDestroyArray_800", referenced from:
_main in engdemo-f79961.o
"_mxGetClassName_800", referenced from:
_main in engdemo-f79961.o
"_mxGetPr_800", referenced from:
_main in engdemo-f79961.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ive read that I need to invoke a mex function, and I have downloaded one but dont know how to call it.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by