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.

[SOLVED] Matlab based serial output

Status
Not open for further replies.

sriblue7

Member level 1
Joined
May 6, 2011
Messages
41
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Chennai
Activity points
1,614
I am thinking of doing a project using matlab.Is it possible to produce an output from serial port (COM) based on the output of a matlab program?(example if two images matches then a particular output say 101 should be transmitted via serial port). If so how?
Thanks in advance..
 

Hi sri,
it is posible with matlab to make communication with com port
all u need to do is open the port and send what ever data you want to send.

---------- Post added at 05:16 ---------- Previous post was at 05:11 ----------

here find the code for that

Var=open("serial");
fopen(Var);
if(condition true)
fwrite(Var,"Data String");
else
fwrite(Var,"some Text");
fclose(Var);
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top