If you have saved it as file.eps use
\includegraphics[width=100mm]{file.eps}
in your latex document (which needs \usepackage{graphicx}) and the image should be included.
By converting the matlab code to tikz (which is TeX) you can include it as TeX and then get more control. (In particular set any text using tex typesetting rather than including it as an image, and for some cases (if matlab makes an eps that is a bitmap) you get better text and rendering, but for the vast majority of people who have been doing this for years, including an eps works fine, On forums like this things are slanted towards tikz and to more involved tex solutions as that is the subject of discussion, but just using an eps file is certainly what most people using matlab and latex do:-)
As well as matlab2tikz you will see other mechanisms that also aim to get the data into TeX rather than being plotted by matlab, in particular some people avoid the matlab plotting altogether, and get matlab just to write out a table of data values and then plot that data using tikz (or its sibling, the pgfplots plotting package) Again this gives more TeX-level control, and may be particularly useful if not all the data in the document is matlab generated and you want to give all the plots a consistent look.
So at some point it is worth investigating these other methods but they are certainly not required to plot a matlab generated image.
file.epsuse\includegraphics{file.eps]in your latex document (which needs\usepackage{graphicx}. What did you try? – David Carlisle Jan 31 '17 at 22:12\begin{figure} \centering \includegraphics[width=100mm, height=50mm]{figure1.eps} \caption{mycaption} \label{fig1} \end{figure}. It's working. But if it is so easy, what is the matlab2tikz tool even for? – Feb 01 '17 at 08:56