Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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.
Citar como
Flavio Prattico (2026). Visual (https://es.mathworks.com/matlabcentral/fileexchange/48464-visual), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.2.0.0 (223 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
