help-octave
[Top][All Lists]
Advanced

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

Save with variable argument


From: Reiner Suikat
Subject: Save with variable argument
Date: Wed, 4 Jan 2006 15:49:35 +0100

Hi,

This may be a stupid question.

I want the following to work:
Fname = test.mat
save -binary Fname a b c ...

It appears that whatever I give as an argument to save is taken literally,
it simply does not substitute the filename.
I tried 
save -binray (fname) ...

Well, it saved to (fname).

What's the trick?

Thanks a lot
Reiner



-------------------------------------------------------------
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]