Info

This question is closed. Reopen it to edit or answer.

How to communicate via Arduino's SPI and Simulink?

1 view (last 30 days)
Frazer
Frazer on 22 Sep 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi all,
Question: have you been able to communicate over SPI using an Arduino from Simulink?
I'm having a lot of trouble trying to get the Arduino Support for Simulink to communicate over SPI. I've downloaded the Support Package for Simulink and the Support Package comes up in the Simulink library, but no SPI blocks. Even though Mathworks' website says that it should be there. In addition, the SPI examples (arduino_SPI_EEPROM) don't work either when called from MATLAB's command window, but other examples do.
Any help would be appreciated.
P.S. I'm running MATLAB 2015a if that makes any difference.
  1 Comment
Madhu Govindarajan
Madhu Govindarajan on 9 Oct 2015
I am not sure where you found the information regarding the support package having SPI blocks? Could you provide us with links?

Answers (0)

Community Treasure Hunt

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

Start Hunting!