LaPrint
LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents.
Author: Arno Linnemann
I was trying to specify a destination directory with the filename, for example,
laprint(1, './figure/a', 'options', 'factory', 'width', 7.5)
Two files will be generated in directory 'figure', namely, 'a.eps' and 'a.tex'
On the Windows machine, the '\includegraphics{}' (second line from bottom in 'a.tex') will points to the correct path of 'a.eps.'
However, on the Linux and Mac machine, the correct path won't be appended to the argument in '\includegraphics{}.'