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!