Is there any Simulink serial port block for Raspberry Pi?

2 vues (au cours des 30 derniers jours)
Konstantin Volodin
Konstantin Volodin le 27 Août 2014
Réponse apportée : Esther le 14 Déc 2015
Is there any Simulink serial port block for Raspberry Pi? Or how it can be done ?

Réponses (1)

Esther
Esther le 14 Déc 2015
There's no Serial Receive block at the moment for the Raspberry Pi simulink library.
You would need to write a driver in C using the S-Function Builder. You could get an idea from here (this wasn't for serial comm, but it is a driver for another block that isn't available in the library):
http://www.mathworks.com/matlabcentral/fileexchange/51232-raspberry-pi-simulink-driver-blocks-adc-dac-pwm

Catégories

En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by