Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Decimals from comma to dot
Date: Wed, 7 Jan 2009 10:08:01 +0000 (UTC)
Organization: DEME
Lines: 20
Message-ID: <gk1uu1$8d7$1@fred.mathworks.com>
References: <gjvfqq$muv$1@fred.mathworks.com> <gjvi08$qab$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1231322881 8615 172.30.248.35 (7 Jan 2009 10:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 7 Jan 2009 10:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1552188
Xref: news.mathworks.com comp.soft-sys.matlab:510190


"us " <us@neurol.unizh.ch> wrote in message <gjvi08$qab$1@fred.mathworks.com>...
> "Fiona Buckley"
> > I want to write a script to import this data, but as the floating points numbers are comma seperated I can't seem to manage...
> 
> a hint:
> other CSSMers have proposed a PERL script to do the conversion before using any one of the ML input procedures...
> look for PERL in this NG...
> 
> us



Thanks for the hint ;o)
I found the program and it is very slick, a real savious. However, I still have a problem... as my file is ASCII, I get the following message: 
            ??? Error using ==> replaceinfile at 63
            Can't do inplace edit on Down: File exists.
However, if I save my ASCII file as a txt file I then can run the script with no problem at all. Any idea what I could do to avoid doing the save as manipulation? 

Cheers
Fiona