Hi , How can i generate a pdf file in matlab with information from code ?
조회 수: 6 (최근 30일)
이전 댓글 표시
Code to generate a pdf file
댓글 수: 2
Walter Roberson
2018년 4월 3일
What kind of information from the code do you want to have go into the pdf file?
답변 (1개)
John D'Errico
2018년 4월 3일
편집: John D'Errico
2018년 4월 3일
Just use publish. See that your comments will be included in the published file. Here is an example script that I just made:
%%publish example
X = randn(1,100);
mean(x)
std(x)
hist(X)
Make sure you go into the publish preferences. Set the output format to pdf.
See the attached .pdf file for the result.
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!