Serial Port reading on raspberry pi 4 using matlab simulink

6 views (last 30 days)
I am using a BIOPAC respiration sensor and it has a serial port 9pin. I want to read the data received by the sensor on raspberry pi and simulate it on the SIMULINK.
Can someone please help me in this regard.

Answers (1)

Pravarthana P
Pravarthana P on 8 Apr 2022
Hi Hussain Ahamad,
I understand that you are trying to read data from Raspberry pi serial port and use it for simulation in SIMULINK.
The Simulink block Serial read from the library Simulink Support Package for Raspberry Pi Hardware / Communication can be used to read the data from Raspberry Pi.
For more information please do refer the following links:


Find more on Simulink Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by