[Top][All Lists]

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

"save" and "load" commands

From: Michelle L Povinelli
Subject: "save" and "load" commands
Date: Wed, 8 Dec 1999 22:27:12 -0500 (EST)

I would like to successively load data from, for example,
files named "myfile1," "myfile2," "myfile3,"... etc.
If I create a string variable holding the file name,
and try to load it with

for ii=1:200
filename=["myfile" num2str(ii)]
load filename

octave tries to load from the file "filename," not "file1," etc.
How do I force evaluation of the string variable in the load (or save)

Michelle Povinelli

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]