[Tex/LaTex] Rotate eps image without the whole page

epsgraphicsMATLABrotating

I have a eps file printed out from a Simulink model using the Matlab command print -deps. However, the image is rotated +90 degrees to portrait. When I include it into my latex document, the whole page becomes rotated -90 degrees.
My command is:

\begin{figure}[hbt]
  \centering
  \includegraphics[width=1\textwidth]{simulink_model.eps}
  \caption{A Simulink Model}
\end{figure}

I tried to add [angle=90] but this turns the whole page by 120 degrees.

I guess I could turn the eps source or manually turn the page back in latex. But is there a way to insert a eps file like this one and tell latex to leave the page orientation alone?

Best Answer

the -dAutoRotatePages=/None works only on images which are rotated itself, the reason why it should work for the whole document. However you can also try:

\begin{figure}[hbt]
  \centering
  \special{ps: gsave -90 rotate }
  \includegraphics[width=1\textwidth]{simulink_model.eps}
  \special{ps: grestore }
  \caption{A Simulink Model}
\end{figure}