help-octave
[Top][All Lists]
Advanced

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

RE: How to pass variables from octave script to Ubuntu shell


From: Bård Skaflestad
Subject: RE: How to pass variables from octave script to Ubuntu shell
Date: Mon, 30 Jan 2012 14:31:23 +0100

On Mon, 2012-01-30 at 14:01 +0100, Richardson, Anthony wrote:
> You could have the Octave script write to standard output and then
> capture the output in your bash script.
> 
>  
> 
> value=$(( octave --silent --eval "myfile(\"$variable\") ))

Certainly, but is there a reason you cannot drive the other scripts from
Octave through the SYSTEM function, particularly if you want to capture
the output for further processing?


Sincerely,
-- 
Bård Skaflestad <address@hidden>
SINTEF ICT, Applied Mathematics



reply via email to

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