3.40625

3.4 | 32 ratings Rate this file 66 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
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (40)
20 Aug 2005 thanavut chcharoenau  
16 Sep 2005 Virtoma Dasinge

Work is not a of Ur title

16 Sep 2005 Comotonov **

MATLAB all I expect

24 Sep 2005 Rajnish Sharma

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

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 Dec 2005 purnomo wahyudi  
23 Feb 2006 Nitin Gupta

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

26 Feb 2006 laith yasin  
07 Mar 2006 rajendra prasad

very good software

18 Mar 2006 vikas malik  
25 Mar 2006 salim hadj said  
24 Apr 2006 muhamaad jawad  
14 May 2006 bab shiyan

hello

27 Jul 2006 RICARDO SOLASSI

interface serial

09 Aug 2006 Rohan Khanna  
25 Aug 2006 javed dhillon  
15 Sep 2006 Sebastián Joel

It need be more explicative.

19 Sep 2006 mojtaba gheibi  
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?

11 Nov 2006 Duane Howard

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

01 Dec 2006 enb tam  
01 Dec 2006 lenk gitrey  
12 Mar 2007 jk k  
26 Mar 2007 M Jones  
08 May 2007 SRINIVAS L

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

03 Jun 2007 asd sad  
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

29 Nov 2007 Markus Rosenberg  
08 Feb 2008 shaktipada sarkar

thanks for ur support.

15 Apr 2008 reza rasekhi

how i can get signal of sensors by matlab

23 Apr 2008 tanmay bozawar

plz helpo me in interfacing a phone to com port

19 Jun 2008 Zohaib Hameed

Good work......thanks for helping

09 Jul 2008 Shantilal Zanwar

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

29 Aug 2008 asdsad asdasd

asdas

14 Oct 2008 Hadi Aliakbarian

Nice

27 Apr 2009 Benjamin

Hello, these interfaces operate in real time?

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)

05 Nov 2009 Tortuka  
07 Nov 2009 he jing  
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

Please login to add a comment or rating.
Updates
30 Sep 2005

Change in Description

Tag Activity for this File
Tag Applied By Date/Time
example Nitin Skandan 22 Oct 2008 07:56:02
application Nitin Skandan 22 Oct 2008 07:56:02
rs232 Nitin Skandan 22 Oct 2008 07:56:02
serial port io Nitin Skandan 22 Oct 2008 07:56:02
test Nitin Skandan 22 Oct 2008 07:56:02
s function driver Nitin Skandan 22 Oct 2008 07:56:02
applications Nitin Skandan 22 Oct 2008 07:56:03
application gabriel mares 12 May 2011 03:51:56
application Jiri Vejvoda 12 May 2011 19:10:29

Contact us at files@mathworks.com