|
In article <fn7lt7$dkd$1@fred.mathworks.com>,
muzaffar <muzaffarbashir@yahoo.com> wrote:
>Hello everybody,
>i have a problem with my data.
>.txt files with first fives lines
>starting with # and all other lines digits.
>i am using
>data1=textread(longefilename,'','commentstyle','shell');
>to load data ignoring five lines starting with # but
>losing original format of .txt files which i need after
>processing numeric data.
Instead of using commentstyle, use headerlines. Oh, and instead
of textread(), use textscan() if your Matlab supports it.
--
"Okay, buzzwords only. Two syllables, tops." -- Laurie Anderson
|