The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Using Matlab libraries(.lib) in Microsoft VC++ 6.0
Replies: 3   Last Post: Aug 10, 2000 11:52 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
francois Pelletier

Posts: 4
Registered: 12/7/04
Using Matlab libraries(.lib) in Microsoft VC++ 6.0
Posted: Aug 6, 2000 8:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to compile a few matlab (.m) files with Matlab Compiler
2.0 to make a stand alone C++ file. I use the command mcc -p followed
by the m-files. One of these m-file, besseli.m, calls the file
besselmx (a Mex file that forced me to rewrite its code in C++) to
give the result of a Modified Bessel equation of the first kind. I am
able to bring the m-files in a C++ project and to compile it but I
still have a few link errors (lnk1104, 1136, 1120). The errors are
related to the Matlab librairies. The m-files that were translated in
.cpp files need there own Matlab librairies to work normally. When I
copy the Matlab (.lib) librairies in the Visual C++ project, or when I
add them to the default librairies in the Settings option of the
Project, I also get a link error. I would like to know if there is a
way to bring the Matlab librairies in a C++ project. If I have to
modify them before, I would like to know how. Any help would be
greatly appreciated. Thank you. You can also answer me at

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.