Before running the following scripts from GNU Octave, make sure that the xMat was successfully compiled to an OCT file with a wrapper script.
Then it should be possible to use the xMat from the provided scripts by simply running the scripts in GNU Octave.
Linked files