Code covered by the BSD License  

Highlights from
MATLAB serial - code example

3.69048

3.7 | 45 ratings Rate this file 202 Downloads (last 30 days) File Size: 1.98 KB File ID: #12526
image thumbnail

MATLAB serial - code example

by

 

03 Oct 2006 (Updated )

MATLAB with serial devices - code example

| Watch this File

File Information
Description

MATLAB supports serial devices including RS-232 when using Instrument Control Toolbox.

This MATLAB code example shows you how to communicate with a serial device.

This MATLAB code example was automatically generated with a device configuration tool provided by the toolbox. Type "tmtool" to start this tool. This is a basic code example to show you how to get started using MATLAB to communicate with a serial device.

Learn more about using MATLAB with serial devices at:
http://www.mathworks.com/products/instrument/supportedio13781.html

Required Products Instrument Control Toolbox
MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (54)
12 Dec 2012 Team 6  
21 Jul 2012 Chulinkaa

only basic information.....

11 Nov 2010 chandu kapadnis  
18 Oct 2010 hekuran krasniqi

ooo lale e du mor burr ket program se e do profesori

03 Oct 2010 DHAWAL THAKKER  
12 Jul 2010 Erdal Bizkevelci  
22 Jun 2010 M. A. Hopcroft

Don't waste your time- this is just the most basic four-line example copied straight from the MATLAB help file.

05 Nov 2009 Tortuka  
20 Oct 2008 salim hadjsaid

Thank you,I was using:
"p=instrfind;
s1=Serial('COM1','baudrate',9600,'stopbits',1,
'Terminator','LF','timeout',Te);"
s1.ReadAsyncMode = 'continuous';
but acquisition can't go down .05s

15 Oct 2008 kee douang  
09 Oct 2008 Baba Omar

I NEED IT FOR STUDY

25 Jul 2008 fathy alsaka  
16 Jul 2008 effendi dodi arisandi

thank you

14 Jul 2008 din esh rajan

good

06 Jul 2008 gilson borba  
09 May 2008 en gex  
18 Apr 2008 shahir uddin

it will help me to modify the project

26 Mar 2008 renáta petrovková  
18 Mar 2008 Erick Suret

hobby

14 Mar 2008 dragan djokovic  
22 Jan 2008 156 15616

22

15 Jan 2008 Teerapun Phiyakunphanid  
18 Dec 2007 vab mishra  
23 Nov 2007 alex morais

its very good.

07 Nov 2007 heri gunawan  
06 Nov 2007 ahmed abdalla  
31 Oct 2007 Juan García

Solicito su orientación para conseguir el serial de matlab 2006.

22 Sep 2007 Dongwen zhang

good

11 Sep 2007 Jose Medina

good

04 Sep 2007 ALIN Kamdeu

it is good to have something to leaD US

03 Sep 2007 patryk kubi?ski  
14 Aug 2007 jamal mazloom  
11 Aug 2007 tarik amrouche  
19 Jun 2007 Bouzegag younes

j'ai besoin d'un programme en matlab pour identifier une trame avec le protocole RS232
sur le oport série de mon pc;

13 Jun 2007 shivi shetty

good application

11 Jun 2007 Cheol Min Kim  
06 Jun 2007 Miguel Delgado  
05 Jun 2007 Nick Panagiotopoulos  
02 Jun 2007 Gowri shankar J

while using Rs-232 of PLC & SCADA the micro controller programming is used , while used in m- file programming , we r using the concept of c language

01 Jun 2007 mahdi Haghzadeh  
01 Jun 2007 mahdi Haghzadeh  
01 Jun 2007 mahdi Haghzadeh  
01 Jun 2007 mahdi Haghzadeh  
25 May 2007 bontong wasri  
25 Apr 2007 Wang juan

Thangk You!

16 Apr 2007 rashid addamt

thank u

03 Apr 2007 jay collins  
12 Mar 2007 Manatchai Prommin

thankyou

22 Feb 2007 morin patrick  
09 Jan 2007 Maksic Natasa  
03 Dec 2006 sten ipkins  
26 Oct 2006 M. Huxby

Works for me. It is a basic example, but it shows how to use Matlab to talk to a serial device by using a tool, how the tool auto generates Matlab script for you, and how to generate a report.

19 Oct 2006 ER NEWB

Doesn't help me any! :(

11 Oct 2006 Dave Billingham  
Updates
26 Dec 2006

Updated description

01 Nov 2010

Added BSD License

Contact us