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

6 visualizaciones (últimos 30 días)
Code to generate a pdf file
  2 comentarios
Walter Roberson
Walter Roberson el 3 de Abr. de 2018
What kind of information from the code do you want to have go into the pdf file?
mohaned jlidi
mohaned jlidi el 3 de Abr. de 2018
Values from histogram and I will add some comments and interpretation!

Iniciar sesión para comentar.

Respuestas (1)

John D'Errico
John D'Errico el 3 de Abr. de 2018
Editada: John D'Errico el 3 de Abr. de 2018
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.

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by