Thread Subject: Available serial ports

Subject: Available serial ports

From: Frank Lorenz

Date: 17 Nov, 2009 09:40:07

Message: 1 of 2

Hello,
I'm creating a small GUI with a serial object. Now I want to find the serial ports of my machine that are available. Is there a way to do it with Matlab without the use of the Instrument Control Toolbox? I know, it is possible with " instrhwinfo('serial') " (see: http://www.mathworks.com/matlabcentral/newsreader/view_thread/249631 ). But I don't have the Instrument Control Toolbox.

Best regards
Frank

Subject: Available serial ports

From: Trent Jarvi

Date: 17 Nov, 2009 14:20:10

Message: 2 of 2


"Frank Lorenz" <frank.lorenz@delphi.com> wrote in message
news:hdtr1n$8rm$1@fred.mathworks.com...
> Hello,
> I'm creating a small GUI with a serial object. Now I want to find the
> serial ports of my machine that are available. Is there a way to do it
> with Matlab without the use of the Instrument Control Toolbox? I know, it
> is possible with " instrhwinfo('serial') " (see:
> http://www.mathworks.com/matlabcentral/newsreader/view_thread/249631 ).
> But I don't have the Instrument Control Toolbox.
>

Hi Frank,

There isn't a clean solution provided in base MATLAB to do what you want.
If you would like to see that functionality, the best way voice your
interest is to make an enhancement request with tech support.

Since a serial port name in itself does not tell you what is connected on
the other side and communicating with all serial devices can lead to
problems, you probably do want some user input regarding which serial port
to use even if you do have a list of ports.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
serial ports Sprinceana 17 Nov, 2009 10:24:54
rssFeed for this Thread

Contact us at files@mathworks.com