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

John W. Eaton jwe at bevo.che.wisc.edu
Wed Oct 1 13:17:44 CDT 2008


On  1-Oct-2008, Michael Chen wrote:

| thanks, it works very well. maybe it is also documented in the manual?
| would you please point it to me, so I can understand better?

Try

  help load

at the Octave prompt.  The Octave 3.0.1 doc strings for load and save
both give examples of this syntax.  Probably earlier versions too; I
don't remembe when it was added.  BTW, this is a feature of the
language.  It is not specific to load and save.

jwe


More information about the Help-octave mailing list