Running Matlab's engine in a 32-bit C++ project when Matlab is configured to 64 bit

Hi,
I'm using Matlab's engine in a 32-bit C++ project, but my Matlab installation is configured to 64bit (on a 64 bit machine). I get the following error when compiling my project: "cannot open file libmx.lib".
Is there any way to get this to work without changing the C++ project to 64 bit?
Thanks in advance!

 Réponse acceptée

You can install a 32 bit Matlab on a 64 bit system also. For testing purposes I run a 2009a/32 and 64 in parallel without any troubles.

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by