How to Publish matlab outout and code in pdf.
170 ビュー (過去 30 日間)
古いコメントを表示
Hello, How i can publish matlab output and code ".m file" into pdf format.
Thanks
1 件のコメント
Pratyay Sengupta
2021 年 6 月 2 日
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.
採用された回答
madhan ravi
2018 年 9 月 8 日
編集済み: madhan ravi
2018 年 9 月 8 日
Try this :
publish('myfile.m','pdf')
Remark: The default file format is .html
Read the link below for better understanding:
その他の回答 (4 件)
Alan Hernandez Ramirez
2020 年 2 月 4 日
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 件のコメント
Walter Roberson
2018 年 9 月 8 日
"You specify the output format and location on the Publish settings pane. "
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!