[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: calling function with input arguments from commandline
From: |
John W. Eaton |
Subject: |
Re: calling function with input arguments from commandline |
Date: |
Fri, 21 Oct 2005 10:25:01 -0400 |
On 21-Oct-2005, Mike Miller wrote:
| load(deblank(argv(1,:)))
| I think the argv syntax has changed to use cell arrays in newer versions
| of Octave.
Yes, so you don't need to call deblank. You can just write argv{n} to
access the n-th argument.
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------