serial data matlab and arduino

5 ビュー (過去 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 Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by