Thread Subject: RS232 data into MATLAB workspace

Subject: RS232 data into MATLAB workspace

From: Moninuola Olufola

Date: 25 Nov, 2009 07:40:24

Message: 1 of 2

Hi all,

I need to read data into the MATLAB workspace from the serial port. I have tried using the RS232 block in simulink without success. I actually need to carry out data analysis on the data preferably in real time. I have not been able to get the data correctly into the MATLAB workspace yet although it can be viewed using other USART terminal softwares.

Subject: RS232 data into MATLAB workspace

From: kinor

Date: 25 Nov, 2009 09:05:12

Message: 2 of 2

"Moninuola Olufola" <molufola@yahoo.com> wrote in message <hein17$f5r$1@fred.mathworks.com>...
> Hi all,
>
> I need to read data into the MATLAB workspace from the serial port. I have tried using the RS232 block in simulink without success. I actually need to carry out data analysis on the data preferably in real time. I have not been able to get the data correctly into the MATLAB workspace yet although it can be viewed using other USART terminal softwares.

Hi,

have a look here

http://www.mathworks.com/matlabcentral/fileexchange/25519-collect-and-plot-data-from-an-instrument-in-real-time

hth
kinor

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com