[Top][All Lists]

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

Saving variables file name

From: Mikolaj Karolczak
Subject: Saving variables file name
Date: Sun, 10 Oct 2004 17:11:24 +0200


Is there any possibility to save variables in files using parametrical file
name? The 'save' function reads exactly what I type as a file name so I can't
save the variable which is for example in an iteration process under different
file names. 
for i=1:10
   (do something with variable v)
   fname = ["file", i, ".txt"];
   save fname v

I would like Octave to save v under "file1.txt", "file2.txt" etc., not under

Mikolaj Karolczak

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]