How do I convert matlab file to pdf
2 285 views (last 30 days)
Show older comments
I write code in matlab and then ı want to convert pdf, doc or doc x . How can I do this .
2 Comments
Accepted Answer
Cris LaPierre
on 30 Mar 2020
If you are using a live script, the is an "Export to pdf" option in the Save menu on the home tab. Click the down arrow to expand the menu to see this and other options.
3 Comments
Arujan Rajadurai
on 10 Oct 2020
How about if I'm just using a script (not live), is there a way to print my script as a pdf?
Thank you!
Cris LaPierre
on 10 Oct 2020
Edited: Cris LaPierre
on 10 Oct 2020
publish('script.m','pdf')
You should also see a Publish tab when viewing a *.m script in the editor. Follow these steps to use a graphical approach.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!