Na początek mojej kariery na tym forum mam coś dla użytkowników Matlaba. mianowicie .... Octave


Kod
user@fafik:~$ octave hello.m
GNU Octave, version 2.1.69 (i386-pc-linux-gnu).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
Tu skrypt octave :D
user@fafik:~$
GNU Octave, version 2.1.69 (i386-pc-linux-gnu).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
Tu skrypt octave :D
user@fafik:~$
Niestety jak wywołuje w php funkcje shell_exec("octave ../hello.m"); zwraca ona tylko komunikat powitalny Octave bez lini "Tu skrypt octave

P.S. Plik hello.m leży w katalogu ~user, skrypt wykonuje sie w ~user/www/