How to Publish matlab outout and code in pdf.
Show older comments
Hello, How i can publish matlab output and code ".m file" into pdf format.
Thanks
1 Comment
Pratyay Sengupta
on 2 Jun 2021
I have a MATLAB code which generates a .txt file. Now I want to publish the code and the output text in a pdf format. Is it possible?
Currently I am able to publish only the code in the pdf format, but not the output text with it.
Accepted Answer
More Answers (4)
Alan Hernandez Ramirez
on 4 Feb 2020
5 votes
bruh
dont use publish('myfile.m','pdf') if youre using the matlab online version
it crashed my computer opening so many figue pages hahahaha
3 Comments
Manuela Eguakun
on 8 Feb 2020
How do you publish then if you use the online version of matlab?
Scott Simmons
on 4 Jun 2020
Same
KARI WEISS
on 15 Sep 2020
same question
Walter Roberson
on 8 Sep 2018
2 votes
"You specify the output format and location on the Publish settings pane. "
1 Comment
madhan ravi
on 8 Sep 2018
+1 @sir Walter advanced thinking.
sujit
on 26 Mar 2024
0 votes
computing average marks of a student?
Categories
Find more on Data Import and Export 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!


