- #1
- 6
- 0
Hey,
I have been trying to call MATLAB from C code, but now I have bunch of execution errors here:
===================================================
engine_FFT.o: In function `main':
engine_FFT.c:(.text+0x103): undefined reference to `engOpen'
engine_FFT.c:(.text+0x195): undefined reference to `engPutVariable'
engine_FFT.c:(.text+0x1a7): undefined reference to `engPutVariable'
engine_FFT.c:(.text+0x1b6): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1c5): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1d4): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1e3): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x21b): undefined reference to `engEvalString'
mex: link of 'engine_FFT.mexa64' failed.
====================================================
I already include the header file "engine.h" at the very beginning, how come the code cannot even find out these engine-related functions?
Does anyone see this kind of error message before? How to solve the problem?
Thanks a lot.
I have been trying to call MATLAB from C code, but now I have bunch of execution errors here:
===================================================
engine_FFT.o: In function `main':
engine_FFT.c:(.text+0x103): undefined reference to `engOpen'
engine_FFT.c:(.text+0x195): undefined reference to `engPutVariable'
engine_FFT.c:(.text+0x1a7): undefined reference to `engPutVariable'
engine_FFT.c:(.text+0x1b6): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1c5): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1d4): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x1e3): undefined reference to `engEvalString'
engine_FFT.c:(.text+0x21b): undefined reference to `engEvalString'
mex: link of 'engine_FFT.mexa64' failed.
====================================================
I already include the header file "engine.h" at the very beginning, how come the code cannot even find out these engine-related functions?
Does anyone see this kind of error message before? How to solve the problem?
Thanks a lot.