Is there any Simulink serial port block for Raspberry Pi?

조회 수: 2 (최근 30일)
Konstantin Volodin
Konstantin Volodin 2014년 8월 27일
답변: Esther 2015년 12월 14일
Is there any Simulink serial port block for Raspberry Pi? Or how it can be done ?

답변 (1개)

Esther
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

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by