Sending data larger than 1 byte from Arduino to Simulink via Serial Communication

1 回表示 (過去 30 日間)
Sinan Sahin Candan
Sinan Sahin Candan 2018 年 12 月 15 日
コメント済み: elham modaresi 2019 年 10 月 26 日
I want to send simply numbers from Arduino to MATLAB via serial communication. I am perfectly sending values in between 0-255 however I also want to send larger values. Probably, Simulink reads it byte by byte however I couldn't figure how to combine those bytes to get a meaningful data.
Below, you may see my Arduino code and simulink block diagram.
My question can be simplified as this; "How can I send the double value 500 to MATLAB Simulink from Arduino?" I want to take that number 500 as a number to use control applications for example.
Thanks.
soru2.PNG
  1 件のコメント
elham modaresi
elham modaresi 2019 年 10 月 26 日
Hi Sinan
Did u find an answer to your question? can you share it with me please?
Regards,

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by