MATLABを使用し​てArduinoのシ​リアルポートをリアル​タイムで表示、データ​の保存する方法

ArduinoUnoを使用して電流センサのロガーを作成しています。そこで、Arduinoのシリアルデータを直接MATLAB上でシリアルモニタを表示させる方法はあるのでしょうか?
また、シリアルモニタに表示されているデータをそのままMATLAB上に保存することは可能でしょうか?(ワークスペースでも.CSVファイルでも構わないのですが)
プログラムなどありませんがご回答いただければと思います……

 Respuesta aceptada

Shoumei
Shoumei el 23 de Dic. de 2019

1 voto

MATLABにシリアルポートのデータを読み込む機能があります。
>> doc serialport

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Dic. de 2019

Respondida:

el 23 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!