How to interface analog sensor output to Simulink model running on Raspberry Pi?

조회 수: 2 (최근 30일)
Hello,
I've read the tutorial on using the Raspberry Pi along with an A/D converter to acquire data from an analog sensor and display it via Matlab. Separately, I've seen the tutorial on executing a Simulink model in real-time on the Raspberry Pi while interfacing with the library blocks that come with the RaspberryPi/Simulink board support package. My question is - is it possible to input acquired analog sensor data directly into a Simulink model while it is running in real-time? I am looking to apply a digital filter (which will be designed in Simulink) to the analog sensor input.
Thanks in advance for any assistance,
Tim

답변 (0개)

카테고리

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