Visual

版本 1.2.0.0 (223.1 KB) 作者: Flavio Prattico
Real time Arduino chart
1.4K 次下载
更新时间 2015/5/20

查看许可证

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 (2024). Visual (https://www.mathworks.com/matlabcentral/fileexchange/48464-visual), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Analog Input and Output 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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