[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: import tab-delimited text file with header
From: |
fork |
Subject: |
Re: import tab-delimited text file with header |
Date: |
Wed, 8 Sep 2010 02:35:35 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
>blah
When asking questions on mailing lists, please cut and paste the commands you
give as well as the output -- it is the difference between possible and
impossible to answer.
> The load function gives me the error "error: load: failed to read matrix
> from file EDCLaserDust_1cm".
load() works with data stored by save() or in a similar format.
> textread, dlmread, and csvread fail as well with errors that look like this
> (for a file with 4 columns):
I would try "x = dlmread('EDCLaserDust_1cm', '\t', 1, 0)
type "help dlmread" to see what each parameter means.
If it doesn't work, see the first line of this email and resend ;)