5

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.

2
  • 1
    As far as I know you're out of luck. Take your compilation troubles as a demonstration why interpreted languages like Matlab are so awesome. Commented Jul 20, 2011 at 18:41
  • 1
    @AmV: perhaps this would help: mathworks.com/help/techdoc/matlab_external/bsflnue-1.html Commented Jul 20, 2011 at 20:14

2 Answers 2

2

In general accessing 32bit code from a 64bit executable is nontrivial. Therefore I doubt they have implemented this in MATLAB natively...

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.