Tomas Schiler wrote, On 9/25/2009 7:20 AM: > I am sorry that I didn’t express my problem clear enough. Function is written for 32 bit system but I am using 64 bit system now.
You can't run 32bit object code from a 64bit executable. It sounds like you have linked to 3rd party functions that are 32bit. If you only have object code/library for these functions, you will not be able to use them with 64bit. The only solution is to obtain 64bit versions of this library, or if you are on Windows you can wrap the code in a 32bit COM executable that you can call from 64bit Matlab using actxserver. This is not a trivial exercise, as I can attest from experience. It works, but is a tremendous amount of work.