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 firstname.lastname@example.org.