help-octave
[Top][All Lists]
Advanced

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

Re: load -ascii strcat(int2str(2001), "data.txt")


From: Jordi Gutiérrez Hermoso
Subject: Re: load -ascii strcat(int2str(2001), "data.txt")
Date: Wed, 1 Oct 2008 12:12:56 -0400

2008/10/1 Michael Chen <address@hidden>:
> Dear there, how can I load a data file on fly? Here were what I tried.
>
> --------------------------------------------------------------
> octave:30> load -ascii 2001PS.octave
>
> octave:31> load -ascii strcat(int2str(2001),"PS.octave")
> parse error:
>
>  syntax error

Try to use the functional form of the call:

     load("-ascii",filename)

HTH,
- Jordi G. H.


reply via email to

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