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

1 view (last 30 days)
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!

Accepted Answer

Jan
Jan on 28 Apr 2013
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.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!