Using K8055 with matlab

when i tried to load K8055D.dll in my windows 64 bit os… it saying that it is not a valid win32 file… error looks like this.

K8055_Connect
Channel (0-3): 0
Status:??? Error using ==> loadlibrary at 480
There was an error loading the library
“C:\Users\Jinto\Documents\MATLAB\source_code\K8055D.dll”
C:\Users\Jinto\Documents\MATLAB\source_code\K8055D.dll is not a valid Win32 application.

Error in ==> K8055_Connect at 8
loadlibrary(‘K8055D.dll’,‘K8055D.h’); %
Loads DLL and H file

Caused by:
Error using ==> loaddefinedlibrary
C:\Users\Jinto\Documents\MATLAB\source_code\K8055D.dll is not a valid Win32 application.
[/color]

any solution to load the out put from my interface box directly to Matlab.

jinto

Some other users seem to have tried the same already

Check out their posts to see if you can resolve your problem:
viewtopic.php?f=15&t=5592

Be sure to try this link:
hackhole.blogspot.com/2007/11/in … -with.html

thank you… but i have tried this link. and done some modifications which i got from this forum… finally i got that error. i have no idea why it says that K8055D.DLL is not a valid win32 file.

I have absolutely no experience with Matlab, but maybe it is giving you the error because it can’t find the dll? If so, you could try moving or copying the DLL into a folder like %WINDIR%\System32. Also make sure that the function accepts a path+filename, and that the “” character does not have any special meaning (it is an escape character in some programming languages). I’m just guessing here in the hopes that it will be helpful.

The K8055D.dll is a valid 32-bit Windows DLL

Keep in mind that it does not contain a COM/ActiveX interface or special Matlab functions, but I don’t think that is a problem from what i read in the other posts…

thank you so much for your info…i will try to work it out. if i succeed will inform you.