[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Run octave script using PHP in windows
From: |
deepus |
Subject: |
Run octave script using PHP in windows |
Date: |
Wed, 22 Jul 2015 00:24:27 -0700 (PDT) |
I installed *Octave 3.6.4*. I created an octave file *sample.m*.The content
of file is
/log10(100)/log10(10)/
Now I want to execute this file using php. For this I wrote a php scrip*
test.php* the test.php contains
/$cmd = 'octave -qf --persist --path C:/wamp/www/dspace/
--eval("sample.m")';
$ex = passthru($cmd, $output);
var_dump($ex);
var_dump($output);/
But the result getting is
/null
int 1/
What is wrong in my code. Please help me..
I am working in *windows 8 *mechine.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Run-octave-script-using-PHP-in-windows-tp4671748.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Run octave script using PHP in windows,
deepus <=