Use xMat with GNU Octave
To run the xMat from GNU Octave, it has to be compiled to an OCT file with a wrapper script first.