Is there any Simulink serial port block for Raspberry Pi?

回答 (1 件)

Esther
Esther 2015 年 12 月 14 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeRaspberry Pi Hardware についてさらに検索

質問済み:

2014 年 8 月 27 日

回答済み:

2015 年 12 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by