save m.file as PDF
5 views (last 30 days)
Hi. I have a number of figures to be made as PDF. There are around 200 figures and I have to make them PDF with figure captions. How can I convert those figures directly from m.file to PDF? I have used publish command but it did not work.
Prateek Rai on 21 Mar 2022
To my understanding, you want to save multiple figures in pdf.
You can use "exportgraphics" function to save plots/figures/graphics content to pdf file.
Refer to following exportgraphics MathWorks Documentation page to know more about it.