serial data matlab and arduino

7 visualizaciones (últimos 30 días)
Ahmed Elgamal
Ahmed Elgamal el 5 de Jul. de 2023
Respondida: Sreeram el 30 de En. de 2025
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

Respuestas (1)

Sreeram
Sreeram el 30 de En. de 2025
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

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by