Problems with Matlab-MEX files (McsUsbDLL.h) on 64Bit for STG400x

View previous topic View next topic Go down

Problems with Matlab-MEX files (McsUsbDLL.h) on 64Bit for STG400x

Post  Titoschmi on Sat Apr 07, 2012 12:23 am

I try to use an STG400x with Matlab (R2011b) control with a 64Bit WIN 7 computer.
Even with Microsoft SDK 7.1 installed (like suggested by Matlab for the compilation of MEX files) Matlab still fails to deal with the MEX files.
If I understood it correctly Matlab tries to compile the McsUsbDLL.h file, which is written in C++. Therefore Matlab requires a compiler to deal with it. However it fails with SDK 7.1.
Is there a solution to that problem?

Titoschmi

Posts : 1
Join date : 2012-04-07

View user profile

Back to top Go down

Re: Problems with Matlab-MEX files (McsUsbDLL.h) on 64Bit for STG400x

Post  Jens on Sun Apr 15, 2012 7:22 pm

You probably have 64bit Matlab.
Our McsUsbDLL.dll is a 32bit DLL, so calling functions from a 64bit process will fail.
Jens

Jens

Posts : 54
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum