the definitions of some functions, such as mxDestroyArray_proxy, mxGetPr_proxy, mxarray
Show older comments
In Linux System, I have some problem: test1.c:(.text+0x151): undefined reference to `mxCreateDoubleMatrix_730_proxy' test1.c:(.text+0x174): undefined reference to `mxCreateDoubleMatrix_730_proxy' test1.c:(.text+0x202): undefined reference to `mxGetPr_proxy' test1.c:(.text+0x25b): undefined reference to `mxGetPr_proxy' test1.c:(.text+0x2d9): undefined reference to `mlfSum_prod' test1.c:(.text+0x316): undefined reference to `mxDestroyArray_proxy' test1.c:(.text+0x325): undefined reference to `mxDestroyArray_proxy' test1.c:(.text+0x334): undefined reference to `mxDestroyArray_proxy' test1.c:(.text+0x343): undefined reference to `mxDestroyArray_proxy' test1.c:(.text+0x348): undefined reference to `libsum_prodTerminate' test1.c:(.text+0x34d): undefined reference to `mclTerminateApplication_proxy' /tmp/ccD4ZnAl.o: In function `display': test1.c:(.text+0x386): undefined reference to `mxGetPr_proxy' test1.c:(.text+0x394): undefined reference to `mxGetM_proxy' test1.c:(.text+0x3a2): undefined reference to `mxGetN_proxy' I want to know where is the definitions of those, such as mxarray, mxGetM_proxy, mxGetPr_proxy, mxGetN_proxy,and so on
Answers (2)
James Tursa
on 11 Apr 2013
How did you build this? Did you have this line at the very top of your code:
#include "mex.h"
Yao
on 11 Apr 2013
0 votes
Categories
Find more on C Shared Library Integration 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!