Error with MATLAB Adafruit Breakout SPI

1 回表示 (過去 30 日間)
Sarah Crimi
Sarah Crimi 2018 年 9 月 18 日
編集済み: Sarah Crimi 2018 年 9 月 20 日
Hi,
I am trying to use the following library: https://www.mathworks.com/matlabcentral/fileexchange/48248-ftdi-spi-library-access. I changed the code a little bit so that it would show warnings and it showed this one: 'libMPSSE_spi_matlabFriendly.h libMPSSE_thunk_pcwin64.c Creating library libMPSSE_thunk_pcwin64.lib and object libMPSSE_thunk_pcwin64.exp ' Does anyone know what this means? The software says that it is not reading the Adafruit. I am not sure what is going on.
Thanks, Sarah C.

採用された回答

Walter Roberson
Walter Roberson 2018 年 9 月 19 日
That message would likely be generated by loadlibrary(). When you pass loadlibrary() a DLL and a .h header file, then creates a thunk file and saves it, and after that you can improve performance of loadlibrary() by referring to the thunk file.
  1 件のコメント
Sarah Crimi
Sarah Crimi 2018 年 9 月 19 日
編集済み: Sarah Crimi 2018 年 9 月 20 日
Thanks :-). I also figured out why MATLAB wasn't recognizing the chip. I needed to install another driver along with the LibMPSSE-Driver called D2XX. However, now it is not writing to GPIO pins properly.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by