I'm writing my thesis and I have a problem on importing my matlab figures in latex.
I'm using TeXnicCenter on WinXp.
Googling, I found exportEpsPdf.m http://www.mathworks.com/matlabcentral/ ... ange/28275. This should allow me to easily export my matlab figures in eps format. It creates a *.tex file which works on the matlab figure substituting the text and other things.
On the other hand, in LaTex, I added the following packages:
Code: Select all
\usepackage{psfrag}
\usepackage{epstopdf}
I already followed what is written here http://mactex-wiki.tug.org/wiki/index.p ... _inclusion, adding the option "--shell-escape" to LaTex => PDF. Now the options are: "--shell-escape -interaction=nonstopmode -max-print-line=120 "%pm" -synctex=-1 ".
The problem is that the compiler returnes this error:
"! Package pdftex.def Error: File 'Figure1.pdf' not found."
A suggestion I found in the Web is adding
Code: Select all
\epstopdfsetup{suffix=}

The problem is that I just need an easy way to copy my Matlab figures in LaTex. I used *.png files, but it's not so nice. I tried using eps, but enden up with this problem.
Thank you for helping me,
BigBertho