Path: news.mathworks.com!not-for-mail
From: "Isaac Noh" <inoh@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Read Data by Usb
Date: Fri, 22 Jun 2007 10:19:08 -0400
Organization: The MathWorks, Inc.
Lines: 38
Message-ID: <f5glp2$r5v$1@fred.mathworks.com>
References: <467bd3b7$0$4792$4fafbaef@reader4.news.tin.it>
Reply-To: "Isaac Noh" <inoh@mathworks.com>
NNTP-Posting-Host: nohi.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1182521954 27839 144.212.211.78 (22 Jun 2007 14:19:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 22 Jun 2007 14:19:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
Xref: news.mathworks.com comp.soft-sys.matlab:415281



Salvatore,

You may be able to comunicate with the thermometer via the DLL that the 
vendor's software uses to communicate to the device.  MATLAB has a generic 
DLL interface that allows DLLs to be loaded into MATLAB.  This then allows 
MATLAB to call the methods of the DLL.  The function to load the DLL is 
called, LOADLIBRARY.

If this is not accessible to you, the DAT-file that you can save can be read 
into MATLAB.  There are examples in the documentation for reading in 
DAT-files.  Just do a search for DAT.

Isaac Noh
Application Engineer
The MathWorks

"Salvatore Esposito" <salvatoreesposito76@alice.it> wrote in message 
news:467bd3b7$0$4792$4fafbaef@reader4.news.tin.it...
>I have a CS infrared thermometer with own usb interface and I would like to 
>read acquired data into Matlab.
>
> Can I read data from usb into Matlab? and How Can I do it?
>
> If it isn't  possible, SW (User Graphic Interface)  CS infrared 
> thermometer/usb interface will save acquired data in .dat file format. Can 
> I read .dat file format into Matlab? ( I have seen load function. Is it 
> correct function?)
>
> Sorry for my English and thanks a lot for your help.
>
> Salvatore
>
>
>
>
>