Is there any Simulink serial port block for Raspberry Pi?
2 ビュー (過去 30 日間)
古いコメントを表示
Here is the article http://www.designnews.com/author.asp?doc_id=269408#msgs and the nice picture http://img.deusm.com/designnews/2013/11/269408/PiModel.jpg
Is there any Simulink serial port block for Raspberry Pi? Or how it can be done ?
0 件のコメント
回答 (1 件)
Esther
2015 年 12 月 14 日
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Raspberry Pi Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!