Visual

Real time Arduino chart

現在この提出コンテンツをフォロー中です。

This real time chart allows you to plot N signals coming from the serial port and save it in a txt file in order to post-process the data acquired. The code for Arduino to plot 3 signals, namely A, B and C, is the following:

void setup() {
Serial.begin(9600);
}
void loop() {
int A=random(0,100);
int B=random(0,100);
int C=random(0,100);
Serial.print(A); Serial.print("\t");
Serial.print(B); Serial.print("\t");
Serial.print(C); Serial.print("\t");
Serial.println();
delay(100);
}

Substitute the random signals (A,B and C) with your signals (e.g. int A=AnalogRead(A0) ) to plot it into the chart.

引用

Flavio Prattico (2026). Visual (https://jp.mathworks.com/matlabcentral/fileexchange/48464-visual), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersAnalog Input and Output についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.2.0.0

Explanation.
This new update include directly the app to be installed in the Matlab apps section.

1.1.0.0

Icon updated

1.0.0.0