Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to communicate via Arduino's SPI and Simulink?

1 vue (au cours des 30 derniers jours)
Frazer
Frazer le 22 Sep 2015
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
Madhu Govindarajan
Madhu Govindarajan le 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?

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by