Continue to Site

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.

serial communication in MATLAB

Status
Not open for further replies.

Pavani RV

Newbie level 1
Joined
Nov 10, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
Can anyone please give a program to recieve data in matlab communicating seially through RS232,

I wrote a piece of code and tried to communicate, I tried to send letter 'A' serially from 8051 to matlab but i am not able to receive the exact data, Each time i run in matlab the Value is changing , suppose say once it will give 65, next 42 next 21, again back to 65 like that. SO please some1 help me

Thanx in advance..:)
 

Can you paste the code reading data in matlab and sending data from 8051 ... Then it will be easy to find the Bug
As per your post I think it is a data type. It may be due to sending data type of the data from 8051 and receved data type from matlab differs
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top