Visual

버전 1.2.0.0 (223 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