help-octave
[Top][All Lists]
Advanced

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

Re: Run script with parameters on terminal


From: Andreas Weber
Subject: Re: Run script with parameters on terminal
Date: Mon, 10 Oct 2016 16:56:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0

Am 10.10.2016 um 14:45 schrieb Jacob Westerberg:
> I have a script that I am trying to run on the terminal. In the script
> there is a function that takes some input to run.
> 
> How can I run the script with parameters in the terminal?

You can use "argv" to get the command line arguments. See also
https://www.gnu.org/software/octave/doc/interpreter/Executable-Octave-Programs.html#Executable-Octave-Programs

-- Andy



reply via email to

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