Engdemo.c not compiling in terminal
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call MATLAB from C에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!