cancel
Showing results for 
Search instead for 
Did you mean: 

The interconnection of stm32 card with matlab for data visualization

Pstud
Associate

Hi ST community members,

I have SMT32 card and pulse sensor that allows to measure the heart beat (ECG signal). In fact, I want to visualize the samples of ECG signal at the output of ADC through matlab. More precisely, I want to present the samples with amplitudes (not binary i.e; just the sampling phase without quantization) in real time with matlab. 

So, I wonder if there is a solution of interconnction of stm32 and matlab in this way becasue I found only the interconnection via similink!!

Thanks in advance!!

1 REPLY 1
Simon V.
ST Employee

Hello,

I already the exercise using Octave. I would recommend you to use the serial com port interface to get/read your desired data.

Your script could query/read regularly your samples and plot it using a graphical interface under matlab/octave.

Here an octave existing example : https://lists.gnu.org/archive/html/help-octave/2016-05/msg00197.html

Regards,

Simon

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.