Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: unresolved _mexPrintf
Replies: 1   Last Post: Jan 22, 1999 8:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Christopher Lawton

Posts: 248
Registered: 12/7/04
Re: unresolved _mexPrintf
Posted: Jan 22, 1999 8:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Themis,

The mexPrintf routine can not be used in a stand-alone application. This is
because the mexPrintf routine must be linked with MATLAB. All of the mex*
routines must be linked with MATLAB and therefore are unavailable for
stand-alone applications. Instead of using mexPrintf, you can just use
printf.

Chris Lawton
clawton@mathworks.com

>To everybody:
>
>I use Matlab version 5.2.1.1420 on Windows NT and Microsoft Visual C++
>
>I want to use the C math library which I have done in the past succesfully
>with Matlab 5.1. (before downloading the 5.2.1 patch). My MSVC project
>includes the follwing libraries:
>libmat.lib, libmatlb.lib, libmcc.lib, libmmfile.lib, and libmx.lib
>
>and the following headers are included:
>matlab.h, matrix.h, mcc.h, mex.h, and tmwtypes.h
>
>The project compliles, but it fails to link giving me the following error:
>
>error LNK2001: unresolved external symbol _mexPrintf
>
>Anybody has encountered the same or similar problem? Any solutions?
>
>Thanks
>
>Themis Katsianos
>R&D, G-VOX Interactive Music
>Phialdelphia, PA
>
>







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.