help-octave
[Top][All Lists]
Advanced

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

Re: Pass argument to script file


From: Tatsuro MATSUOKA
Subject: Re: Pass argument to script file
Date: Tue, 16 Jun 2015 19:44:49 +0900 (JST)

----- Original Message -----

> From: Francesco Potortì 
> To: jbb4 
> Cc: help-octave> Date: 2015/6/16, Tue 18:12
> Subject: Re: Pass argument to script file
> 
>> Hi, i'm launching a bash file from the terminal which starts octave and
>> launch another source file.
>> I need to pass some arguments(values) from the bash to the octave. Things
>> tried so far:
>> - octave --arguments
>> - file.m (argument1,argument2)
> 
> Have you managed to find an answer to your problem?  If not, can you be
> more clear and tell us what you did, what you expected, and what
> happened instead?


Perhaps jbb4 replied to the Nabble forum directly.

His successful replies were:

*********************************************************
Thank you very much that was exactly what i need. 
Just in case somebody have the same problems this is the full code from bash: 

echo "age=32;name='John';source script.m" |octave -q 

*********************************************************



Tatsuro



reply via email to

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