For Programmers: Free Programming Magazines  


Home > Archive > Matlab > May 2005 > CALLING MATLAB FROM C









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CALLING MATLAB FROM C
Joshua

2005-05-31, 9:00 pm

I wanted to call a Matlab code from C program. However, when I try
the example given in help, I met the following errors. Can sb tell me

what's wrong?
Thank you very much!
[color=darkred]
engwindemo.obj .text: undefined reference to '_engOpen'
engwindemo.obj .text: undefined reference to '_engPutArray'
engwindemo.obj .text: undefined reference to '_engEvalString'
engwindemo.obj .text: undefined reference to '_engOutputBuffer'
engwindemo.obj .text: undefined reference to '_engGetArray'
engwindemo.obj .text: undefined reference to '_engClose'
Specified export _mexFunction is not defined
Missing exports. Aborting

C:\MATLAB6P1\BIN\WIN32\MEX.PL: Error: Link of 'engwindemo.dll'
failed.


??? Error using ==> mex
Unable to complete successfully
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com