3.40625

3.4 | 32 ratings Rate this file 47 Downloads (last 30 days) File Size: 1.11 MB File ID: #8311

Guide to Serial Port Interfacing

by Nitin Skandan

 

18 Aug 2005 (Updated 30 Sep 2005)

This article will give a detailed description of serial port interfacing in MATLAB.

| Watch this File

File Information
Description

I have enumerated my experience working with MATLAB serial port interfacing features in this article. Lot of examples are also provided. this will defenitely sevr as a self contained tutorial for all those who would like to access COM ports from MATLAB. It will get you started as well as take you all along. There will be minor bugs in the files that i have given here. Please bear with me i have tried my best to make it as good as possible with the time constraints.

Required Products Simulink
MATLAB release MATLAB 6.1 (R12.1)
Other requirements VC++ 6
Tags for This File  
Everyone's Tags
application(3), applications, example(2), rs232, s function driver, serial port io(2), test
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (40)
17 Jul 2011 Ana

I need to know where in the Commands I have to write those instructions... it does not make sense that way

07 Nov 2009 he jing  
05 Nov 2009 Tortuka  
23 Jun 2009 S Fernandes

one of the files is corrupted, i suggest you make a new zip file. here's the error log:
Extracting to "C:\Documents and Settings\..."
Use Path: no Overlay Files: yes
Extracting testserwrite.pch
bad CRC 7653968e (should be 4e2826ea)

27 Apr 2009 Benjamin

Hello, these interfaces operate in real time?

14 Oct 2008 Hadi Aliakbarian

Nice

29 Aug 2008 asdsad asdasd

asdas

09 Jul 2008 Shantilal Zanwar

Good work, helped a lot to understand serial ports through MATLAB

19 Jun 2008 Zohaib Hameed

Good work......thanks for helping

23 Apr 2008 tanmay bozawar

plz helpo me in interfacing a phone to com port

15 Apr 2008 reza rasekhi

how i can get signal of sensors by matlab

08 Feb 2008 shaktipada sarkar

thanks for ur support.

29 Nov 2007 Markus Rosenberg  
20 Jul 2007 Dimitri Shvorob

Ok, this is not the blatant cut-and-pasting found in some other submissions by the author, but the diagrams and some text definitely come from
http://www.mathworks.com/access/helpdesk/help/toolbox/instrument/index.html?/access/helpdesk/help/toolbox/instrument/f14-16706.html&http://www.google.com/search?q=By+default+all+write+operations+are+synchronous&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:be:official&client=firefox-a

03 Jun 2007 asd sad  
08 May 2007 SRINIVAS L

i really learnt lot about serial communication from these files....

26 Mar 2007 M Jones  
12 Mar 2007 jk k  
01 Dec 2006 lenk gitrey  
01 Dec 2006 enb tam  
11 Nov 2006 Duane Howard

The file is corrupt. It should be re-uploaded. Throws a CRC error on extraction.

09 Nov 2006 Tim Waldron

The unzipped version of the file was many copies of the same, somewhat unreadable or corrupt m-file.
It may be my decompression program had some difficutly, but I am concerned that the zip file might be corrupt? Is this even possible?

19 Sep 2006 mojtaba gheibi  
15 Sep 2006 Sebastián Joel

It need be more explicative.

25 Aug 2006 javed dhillon  
09 Aug 2006 Rohan Khanna  
27 Jul 2006 RICARDO SOLASSI

interface serial

14 May 2006 bab shiyan

hello

24 Apr 2006 muhamaad jawad  
25 Mar 2006 salim hadj said  
18 Mar 2006 vikas malik  
07 Mar 2006 rajendra prasad

very good software

26 Feb 2006 laith yasin  
23 Feb 2006 Nitin Gupta

learned to incorporate serial port in simulink (provided s-function serves as a nice template)

24 Dec 2005 purnomo wahyudi  
29 Sep 2005 Yorck Rackow

The first guide that got me interfacing simulink to rs232 Port via customizable
M-Code S-functions. Needed minor debugging though. Way to go for dummies :o)

24 Sep 2005 Rajnish Sharma

Poor work. Lack inovation and not a genuin work I suspect.

16 Sep 2005 Comotonov **

MATLAB all I expect

16 Sep 2005 Virtoma Dasinge

Work is not a of Ur title

20 Aug 2005 thanavut chcharoenau  
Updates
30 Sep 2005

Change in Description

Contact us