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:
댓글 수: 27
추가 답변 (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!