Path: news.mathworks.com!not-for-mail
From: "Bill Jordan" <billulster@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extracting data from long message
Date: Thu, 2 Aug 2007 21:17:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 27
Message-ID: <f8thkf$ifv$1@fred.mathworks.com>
References: <f8tb9v$mmp$1@fred.mathworks.com> <f8tf3o$huk$1@canopus.cc.umanitoba.ca> <f8tgb5$can$1@fred.mathworks.com> <f8tguo$cs$1@fred.mathworks.com>
Reply-To: "Bill Jordan" <billulster@mathworks.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186089424 18943 172.30.248.37 (2 Aug 2007 21:17:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Aug 2007 21:17:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 459729
Xref: news.mathworks.com comp.soft-sys.matlab:422254


"us " <us@neurol.unizh.ch> wrote in message 
<f8tguo$cs$1@fred.mathworks.com>...
> Bill Jordan:
> <SNIP down to typo...
> 
> > > submessages = textscan(MSG, '%s', 'Delimeter', ':')
> > I get the message "??? Error using ==> textscan
> > First input must be of type double."...
> 
> because, this should have read
> 
>      msg='12.34 05/06/06 : cg: ng';
>      sm=textscan(msg,'%s','Delimiter',':'); % <- typo
>      sm{:}
> % ans = 
> %    '12.34 05/06/06 '
> %    'cg'
> %    'ng'
> 
> us

Stil getting the same error:"??? Error using ==> textscan
> > First input must be of type double.".....

I  am using matlab 7.0, anything to do with this version?
Thanks again