Reputation: 96398
I have access to a library with pre-compiled 32 bit mex files (Windows: .mexw32
, Linux: .mexa32
). I am having a hard time compiling the library myself for a 64 bit machine, so I was wondering if there is a way to make MATLAB 64 bit work with 32 bit mex files.
Upvotes: 5
Views: 4160
Reputation: 11
No a 64-bit program cannot use 32-bit shared libraries. One option is to install the 32-bit version of MATLAB on your machine as well.
Upvotes: 1
Reputation: 5024
In general accessing 32bit code from a 64bit executable is nontrivial. Therefore I doubt they have implemented this in MATLAB natively...
Upvotes: 2