[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

load problems

From: Ben Sapp
Subject: load problems
Date: Wed, 02 Aug 2000 08:59:43 -0600

I have a lot of ascii files with names like 10n14.wav, 12s20.wav,
15s6.wav that have data I want to look at in Octave.   The file has one
value per line.  The problem is the name of the file.  Octave loads the
variable into memory as 10n14 and the like.  Then if I try to operate on
the data like so,  

wave_forms = reshape( 10n14 ,500,max(size(10n14))/500);
temp = 10n14;

I get a parse error.   I tried to get octave to name the variables
something different with, 

load "9n6b.wav" temp

but, it reports the following message:
warning: load: loaded ASCII file `9n6b.wav' -- ignoring extra args

I thought from the documentation that this would read "9n6b.wav into
temp.  Renaming the files is unacceptable.   Is there any easy

I am using Octave 2.1.30 on IRIX 6.5   


Ben Sapp                         Los Alamos National Laboratory
email: <mailto:address@hidden>   Phone: (505)667-3277
Fax:   (505)665-7920             URL:

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]