Now it works both OCTAVE and MATLAB. The invoking of the interpreter was changed. The program is now call from console, instead of receiving parameters via the writing channel