MATLAB code for serial port

Posted on 2004-10-28
Last Modified: 2008-03-10
i am trying to program in MATLAB this:

I want to open a serial port
send a signal from MATLAB to the port
receive input from the port to MATLAB
record the input in MATLAB
close the port
Question by:xios
    1 Comment
    LVL 1

    Accepted Solution

    You can find a "Hardware Input / Output Library for Matlab / Simulink" here -

    Please download the code from

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
    This article will show, step by step, how to integrate R code into a R Sweave document
    This video teaches viewers about errors in exception handling.
    The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now