필터 지우기
필터 지우기

How can I load the DLL from MCP2210 into Matlab?

조회 수: 5 (최근 30일)
Pop Mircea
Pop Mircea 2014년 5월 1일
편집: Walter Roberson 2015년 6월 27일
Dear all?
I'm trying to load the MCP2210 dll provided by Microchip into Matlab. As instructed by a previous thread I used the following command:
asb = NET.addAssembly(fullfile(pwd,'MCP2210DLL-M.dll'))
to which I've got the following message:
"??? Message: Could not load file or assembly
'file:///C:\Users\Dina\Downloads\MCP2210_DLL_20130416\Managed\MCP2210DLL-M.dll' or
one of its dependencies. Operation is not supported. (Exception from HRESULT:
0x80131515)
Source: mscorlib
HelpLink:"
The DLL was in the working folder!
Please kindly advise!!!!
Regard!

답변 (1개)

Davide
Davide 2014년 9월 3일
we solved the same problem using the 32-bit version of Matlab.
Currently, we are able to use the different functions of the dll except for TxferSpiData function.
TxFerSpiData correctly performs the transmission (the return value is zero as indicate in the guide http://ww1.microchip.com/downloads/en/DeviceDoc/MCP2210DLL_2014-08-27.zip) but it does not change the value on the RxData.
Was someone able to correctly use TxFerSpiData?
Any suggestion would be appreciate.
Davide
  댓글 수: 1
Kiran
Kiran 2015년 6월 26일
Were you able to get this resolved and able to interface MCP2210 in matlab?
thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by