Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to read data via serial port in Matlab?

Status
Not open for further replies.

enogogo

Member level 4
Joined
Jun 7, 2004
Messages
73
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
330
matlab and serial port

I want to read some gps receiver data via serial port and use it directly in matlab, i have tried help files of matlab which explains how to read data via serial port but it didn't work. Can any body help me on that? and if you know some sources explaining this issue please forward...
 

Circuit_seller

Full Member level 5
Joined
Sep 23, 2002
Messages
302
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,298
Activity points
2,350
Re: matlab and serial port

Hi

There is a bug in MATLAB when you want to read from serial port. You should first, write one 8-bit data to serial object and then read from it.
I think you should first warm up the port :p

Regards
 

siosavin

Member level 4
Joined
Jun 26, 2004
Messages
70
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
560
matlab and serial port

pls see these pages:

/http://cnx.rice.edu/content/m12062/latest/
/http://cnx.rice.edu/content/m10821/latest/
/http://www.cen.uiuc.edu/~ece320/handouts/serial.pdf
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top