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 20:55:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 31
Message-ID: <f8tgb5$can$1@fred.mathworks.com>
References: <f8tb9v$mmp$1@fred.mathworks.com> <f8tf3o$huk$1@canopus.cc.umanitoba.ca>
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 1186088101 12631 172.30.248.37 (2 Aug 2007 20:55:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Aug 2007 20:55:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 459729
Xref: news.mathworks.com comp.soft-sys.matlab:422248


roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in 
message <f8tf3o$huk$1@canopus.cc.umanitoba.ca>...
> In article <f8tb9v$mmp$1@fred.mathworks.com>,
> Bill Jordan <billulster@mathworks.com> wrote:
> 
> >I have a long message, I want to extract data groups 
from 
> >this messsage and save each one separately. Foe example,
> 
> >MSG= ('12.34 05/06/06 : computer-group: network-groups')
> 
> >Not the separation beween each group is : . I need to 
> >store each grop separately in other messages or arrays!
> 
> submessages = textscan(MSG, '%s', 'Delimeter', ':')
> -- 
>   There are some ideas so wrong that only a very 
intelligent person
>   could believe in them.                              -- 
George Orwell


Hi walter,

I get the message "??? Error using ==> textscan
First input must be of type double."

I am using Matlab 7.

Thanks