Error using mex (mxErrMsgTxt)
Show older comments
I have a error when run this code of mdl4bmf package:
CODE: mex -Iasso-utils/ -largeArrayDims -O -v -output asso -DMATLAB ./asso.obj ./matlabasso.obj
ERROR: Error using mex ./matlabasso.obj:matlabasso.c:(.text+0x371): undefined reference to `mxErrMsgTxt' collect2.exe: error: ld returned 1 exit status
Please help me to solve this problem, OS win10 , matlab version 2017a
Accepted Answer
More Answers (1)
Nadin Mari
on 1 Feb 2018
0 votes
In Matlaqb R2017b change mxErrMsgTxt to mexErrMsgTxt.
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
