From: Tao Lan on
Dear all,
I met a problem about the mex file in 64bit matlab.
I ever compiled a mex32 file in x86 winxp system. For some reason, I changed to a 64bit windows 7 system. And a 64bit matlab was also installed with it. But I found that the mex32 file did not work in the new 64bit system. What should I do in the 64bit matlab?
From: James Tursa on
"Tao Lan" <lantao(a)gmail.com> wrote in message <hijldj$6mp$1(a)fred.mathworks.com>...
> Dear all,
> I met a problem about the mex file in 64bit matlab.
> I ever compiled a mex32 file in x86 winxp system. For some reason, I changed to a 64bit windows 7 system. And a 64bit matlab was also installed with it. But I found that the mex32 file did not work in the new 64bit system. What should I do in the 64bit matlab?

Recompile the mex routine into a 64-bit version.

James Tursa
From: Tao Lan on
"James Tursa" <aclassyguy_with_a_k_not_a_c(a)hotmail.com> wrote in message <hijpob$93o$1(a)fred.mathworks.com>...
> "Tao Lan" <lantao(a)gmail.com> wrote in message <hijldj$6mp$1(a)fred.mathworks.com>...
> > Dear all,
> > I met a problem about the mex file in 64bit matlab.
> > I ever compiled a mex32 file in x86 winxp system. For some reason, I changed to a 64bit windows 7 system. And a 64bit matlab was also installed with it. But I found that the mex32 file did not work in the new 64bit system. What should I do in the 64bit matlab?
>
> Recompile the mex routine into a 64-bit version.
>
> James Tursa

Good idea... but useless for me because the lib file is 32bit.
3x. anyhow.

Tao Lan