These are old notes I wrote. I need to merge these with others when I have sometime.
To run Matlab function in a file, on linux, type
matlab -nodisplay -nodesktop -nojvm -r "post_process;quit;"
Make sure to be in the same folder as the file post_process.m
in this example. And
make sure you set the path to where the matlab installation is, which should be in
>which matlab /usr/local/MATLAB/R2015a/bin/matlab
This image shows the Matlab plot/figure main dimensions