Hi , How can i generate a pdf file in matlab with information from code ?

조회 수: 6 (최근 30일)
mohaned jlidi
mohaned jlidi 2018년 4월 3일
댓글: mohaned jlidi 2018년 4월 4일
Code to generate a pdf file
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 4월 3일
What kind of information from the code do you want to have go into the pdf file?
mohaned jlidi
mohaned jlidi 2018년 4월 3일
Values from histogram and I will add some comments and interpretation!

댓글을 달려면 로그인하십시오.

답변 (1개)

John D'Errico
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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by