diff options
| author | ziejd2 | 2018-03-14 23:23:33 -0500 |
|---|---|---|
| committer | GitHub | 2018-03-14 23:23:33 -0500 |
| commit | 1ff6baa44e22b91eefb48aea6f3befa078c0489b (patch) | |
| tree | e0fd79d2e32fd2aedda2eadaed0f19af3514c520 /sourcecodes/execute_bn_gom.php | |
| parent | 6882395afdadf4e982b25b5215071a0932730950 (diff) | |
| parent | c80226899f5cdd9f11c163817d59445213f5bef0 (diff) | |
| download | BNW-1ff6baa44e22b91eefb48aea6f3befa078c0489b.tar.gz | |
Merge pull request #1 from ziejd2/octave_php_separate
Octave php separate
Diffstat (limited to 'sourcecodes/execute_bn_gom.php')
| -rw-r--r-- | sourcecodes/execute_bn_gom.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sourcecodes/execute_bn_gom.php b/sourcecodes/execute_bn_gom.php index ead7bd3f..d9f2bc93 100644 --- a/sourcecodes/execute_bn_gom.php +++ b/sourcecodes/execute_bn_gom.php @@ -79,17 +79,17 @@ for($i=1;$i<=$n;$i++) fwrite($fout,"$endstring"); fclose($fout); -$file1="./data/".$keyval."run_initialstructure.sh"; -$initiallines=file_get_contents("./data/temp_shell_file_initial_structure"); -$all_lines="$initiallines"."$keyval\nfi\nexit"; -$fp = fopen($file1,"w"); -fwrite($fp, "$all_lines\n"); -fclose($fp); +//$file1="./data/".$keyval."run_initialstructure.sh"; +//$initiallines=file_get_contents("./data/temp_shell_file_initial_structure"); +//$all_lines="$initiallines"."$keyval\nfi\nexit"; +//$fp = fopen($file1,"w"); +//fwrite($fp, "$all_lines\n"); +//fclose($fp); //prepare and execute shell script for matlab with a write lock //$cmd="./runmat.sh $keyval"; //system($cmd); -shell_exec('./runmat.sh '.$keyval); +shell_exec('./run_octave '.$keyval); ?> <script> |
