help-octave
[Top][All Lists]
Advanced

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

Re: Saving variables file name


From: Mikolaj Karolczak
Subject: Re: Saving variables file name
Date: Mon, 11 Oct 2004 17:20:32 +0200

> 
> 
>   Sure you can.  Construct the fname of your choice with sprintf.
>   Then construct an Octave command using that name and eval() it.
> 
>   fileNam = sprintf("%s.txt",runNo);
>   str = sprintf("save %s v",fileNam);
>   eval(str);
> 

Thanks,
Mikolaj



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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