Insert Mathlab figure in Latex
Show older comments
Hi,
I have been unable to insert Matlab figure in my LaTex document and I am not sure what the problem is.
I usually use the code below to create the document in MATLAB.
print -depsc Nocostfunction41.eps
\begin {figure}[H]
\centering
\includegraphics[scale =0.4]{Simulation Figures/Nocostfunction41}\\
\caption{Figure 1}
\label{figure1}
\end{figure}
I have attached a screenshot of the error. I am using BigSur OS and TexShop, MATLAB R2021
Has anyone experience this type of problem
Accepted Answer
More Answers (0)
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!