serial data matlab and arduino

조회 수: 6 (최근 30일)
Ahmed Elgamal
Ahmed Elgamal 2023년 7월 5일
답변: Sreeram 2025년 1월 30일
i send data from matlab command via serial to arduino uno in
this command :
arduino=serialport("COM9",115200); writeline(arduino,"45,90,135,180,225,273,231");
i want to send this data from serial arduino mega serial1 to serial0 of arduino uno via simulink i tryed this but it not work

답변 (1개)

Sreeram
Sreeram 2025년 1월 30일
Hi Ahmed,
This example that shows how to use Simulink Support Package for Arduino Hardware to send and receive serial data with Arduino hardware might help in troubleshooting:
Thanks

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by