Sending to Simulink for arduino serial monitor

조회 수: 7 (최근 30일)
WonGyu Park
WonGyu Park 2020년 11월 14일
답변: Vidip 2024년 1월 17일
I wanna send distance data in arduino serial monitor from sensor.
with serial comunication..
In simulink, I wanna use this distance data for input, in unit (Centimeter).
Please help me.

답변 (1개)

Vidip
Vidip 2024년 1월 17일
I understand that you want to read distance data from an Arduino sensor and use it in Simulink.
You can use serial port 0 to communicate with other devices that have serial ports, or to communicate with a computer over the USB port. Each serial port supports one Serial Transmit and one Serial Receive block, one block per pin. You can run your model in the External mode for all the Arduino boards.
Also, you can refer to the below documentation to know about the detailed process of transmitting and receiving serial data –

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by