MATLAB: Win32 S function run on a win64bit machine.

32 64 s function

I am having some win32/win64 issues. I have been given a Simulink model which includes some S-Functions compiled on a win32 machine, using 32bit Matlab. I am running a win64 machine and 64bit matlab.
At the moment I cannot get the model to run correctly, with errors saying the .mexw32 S Functions do not exist.
Does anybody know if I install 32bit Matlab on my win64 machine, will it locate (and run) the win32 S-Functions.

Best Answer

Found the answer here,
It appears that a 32bit Matlab is required to run .mexw32 on a 64bit machine.
Related Question