A set of scripts for writing LaTeX code from Matlab