how to load dll file ? "The specified module could not be found." i have refered lot
이전 댓글 표시
hai i am using a USB to SPI converter IC(MCP2210) from Micrpchip...they have provided .dll file,I need to load it in to Matlab for working of that chip.
i have tried very hard.....below i have shown editor work i did and message i got...
>> cd('c:\work')
>> hfile = fullfile(matlabroot,'extern','include','matrix.h');
>> loadlibrary('MCP2210DLL',hfile,'mfilename','mxproto')
Warning: Warnings messages were produced while parsing. Check the functions you intend to use for correctness. Warning text can be viewed using: [notfound,warnings]=loadlibrary(...) > In loadlibrary at 344 Error using loadlibrary (line 419) There was an error loading the library "MCP2210DLL" The specified module could not be found.
Caused by: Error using loaddefinedlibrary The specified module could not be found.
i have even tried dependance walker and added the missing file, it dont work. and i have added that .dll file download link below. http://ww1.microchip.com/downloads/en/DeviceDoc/MCP2210_DLL_v1.1.1.zip i need help plz
채택된 답변
추가 답변 (3개)
Kaustubha Govind
2013년 1월 3일
2 개 추천
댓글 수: 2
ikram khan
2013년 1월 3일
편집: ikram khan
2013년 1월 3일
Kaustubha Govind
2013년 1월 4일
Ikram: Sorry, this forum is really for voluntary participation of MATLAB users, so most of us don't have a lot of time to spend on questions posted here - it will help if you can post specific questions that those of us with expertise can contribute best to. I briefly went through your log, and at the bottom, I see:
Error: Modules with different CPU types were found
This might be key - perhaps you have mixed 32-bit and 64-bit DLLs? Your DLL and its dependencies need to be the same type as your MATLAB application.
Jesus Meza Serrano
2020년 2월 13일
0 개 추천
Good night to all:
Why when I try?: >ans.Settings.GetConnectionStatus
ans =
0
My anwer: ans = 1.
댓글 수: 1
Jesus Meza Serrano
2020년 2월 13일
Excuse Me: answer.
카테고리
도움말 센터 및 File Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!