help-octave
[Top][All Lists]
Advanced

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

Re: concept problem


From: Mirek Kwasniak
Subject: Re: concept problem
Date: Thu, 15 Nov 2001 14:50:20 +0100
User-agent: Mutt/1.3.23i

On Thu, Nov 15, 2001 at 02:07:07PM +0100, Paolo Ariano wrote:
> i don't undersatnd how to pass a variable value to the command
> gset output. If i write gset output "filename" filename is a costant but
> i'd like to pass the file name from argv or from a for cicle


Two variants :)

eval([ 'gset output "', filename, '"' ])
gset([ 'output "', filename, "' ])

Mirek



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