Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Scan for Connected Instruments
Date: Mon, 19 Oct 2009 09:28:32 -0400
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <hbhpi0$kgh$1@fred.mathworks.com>
References: <hbda17$a9l$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: jarvit.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1255958912 21009 172.31.56.68 (19 Oct 2009 13:28:32 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 19 Oct 2009 13:28:32 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:578380



"Ming Liu" <liuminggang@hotmail.com> wrote in message 
news:hbda17$a9l$1@fred.mathworks.com...
> tmtool has an option to "refresh" or "scan for connected instruments".
> Is there any way to invoke this procedure from the command line?
>
> Thanks

Hi Ming

The refresh button in TMTOOL calls INSTRHWINFO with the various documented 
options to enumerate available instruments.  You can write a script to do 
this.  In fact, current versions of MATLAB probably do what you want in the 
INSTRSUPPORT function.