Path: news.mathworks.com!not-for-mail
From: "Rob Purser" <rob.purser@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Read Data by Usb
Date: Fri, 29 Jun 2007 11:03:11 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 14
Message-ID: <f62otf$mqf$1@fred.mathworks.com>
References: <467bd3b7$0$4792$4fafbaef@reader4.news.tin.it> <f5glp2$r5v$1@fred.mathworks.com> <f5h0qn$5fg$1@fred.mathworks.com>
Reply-To: "Rob Purser" <rob.purser@mathworks.com>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1183114991 23375 172.30.248.35 (29 Jun 2007 11:03:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 29 Jun 2007 11:03:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader Vr?ùàícƒ
Xref: news.mathworks.com comp.soft-sys.matlab:416395



Unfortunately, there really isn't any "generic standard" for USB -- It's very different from serial support.  Asking for USB support is equivalent to asking for PCI or ISA support.  

In most cases, you must have a DLL driver for the hardware that allows you to communicate with the device.  Since MATLAB supports a generic DLL interface that allows people to communicate to DLLs directly from MATLAB, a possibility is to communicate to a USB device by talking to the DLL from MATLAB.

For more in-depth info, visit
http://www.lvr.com/usbfaq.htm 
at USB Central.

With Data Acquisition Toolbox, we support USB if they are supported through the vendors API. For instance, MCC has the USB-1608FS.

For Instrument Control Toolbox, we also support USB connectivity with USB instruments that support the standard USB Test and Measurement Class (USBTMC). This is done via one of the Visa connectivity tools, such as Agilent Connection Expert (ACE).

In Image Acquisition Toolbox, we support webcams over USB. The reason again is because we talk to the DirectX API of the webcam and then the webcam handles communication over USB.