[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading fixed width data?
From: |
CdeMills |
Subject: |
Re: Reading fixed width data? |
Date: |
Tue, 14 Sep 2010 00:28:35 -0700 (PDT) |
forkandwait wrote:
>
> Is there a function to read fixed width data in Octave?
>
> I swear I googled... Matlab just says "sorry ...." ...
>
>
What do you call exactly 'fixed-width' ? Binary ? Delimited by some specific
char ?
F.i:
str= ' 3 6 4 2';
sscanf(str, '%d ') # notice the space after the specifier
3
6
4
2
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/Reading-fixed-width-data-tp2538245p2538550.html
Sent from the Octave - General mailing list archive at Nabble.com.
Re: Reading fixed width data?, Sergei Steshenko, 2010/09/14
Re: Reading fixed width data?, fork, 2010/09/14