[Top][All Lists]

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

unable to convert filename

From: Daniel Heiserer
Subject: unable to convert filename
Date: Sun, 28 Mar 1999 16:21:32 +0200

I ran into a problem while loading PLAIN ascii files which where NOT in
the current directory.
AFAIK octave looks in the first line if he can something like "#name:"
If it is not there he tries to do a "$filename=~s/\..*//;" (in perl
Unfortunately this filename might contain still characters which are not
allowed for filenames like "/". 
I see two ways to avoid that problem:
1) convert ALL not-allowed characters to "_"
2) take the filename only (get rid of directory structure)
        and then use "1)".

octave:1> load results/KAA.00000199
error: load: unable to convert filename `results/KAA.00000199' to valid
error: evaluating index expression near line 1, column 1

I use octave 2.0.11. Maybe it is fixed in a later version. If not
could somebody do that?


Mit freundlichen Gruessen
                                 Daniel Heiserer
Dipl.-Phys. Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
Abteilung EK-20
Tel.: 089-382-21187, Fax.: 089-382-42820

reply via email to

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