GH file output from Matlab