How to publish (download) my MATLAB code and plots as pdf?
Show older comments
I want to publish (download) my matlab code and plots as pdf. I use matlab online and want to download on desktop. Earlier there was a publish tab but in new version it's not there. Can someone help?
Answers (1)
Jiro Doke
on 4 Jul 2021
1 vote
If you're working with a traditional MATLAB file (.m file), then you should see a "PUBLISH" tab.

If you're working with a Live Script, then you can export to a PDF from the Save button.

5 Comments
Mengjia He
on 9 Dec 2022
how to publish with line numbers
Dowman Varn
on 5 Aug 2023
My MatLab looks nothing like this!! NOT HELPFUL!!
Jiro Doke
on 6 Sep 2023
What version of MATLAB are you using?
version
Mani
on 17 Sep 2024
24.1.0.2689473 (R2024a) Update 6
Eric
on 26 Dec 2024
how to publish into a pdf with line numbers included.
Categories
Find more on Downloads 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!