live script to pdf without code output in the file

21 visualizaciones (últimos 30 días)
Mikkel Star
Mikkel Star el 14 de Feb. de 2021
Comentada: Mikkel Star el 14 de Feb. de 2021
help urgent need.
how can i make a pdf of live script that only has text and code, but no code output
as i have inputet manually the code result (output) i dont want the code output in the pdf file.
can i block then or silece them some how
regards

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 14 de Feb. de 2021
If I clear the output in my live script (View > Clear all output), then use the export to pdf option (Live Editor > Save > Export to PDF), it only includes what I see in the live script. It does not run the code first.
  1 comentario
Mikkel Star
Mikkel Star el 14 de Feb. de 2021
it works thanks, also just putting ";" at det end of all the code (wich is simple and almost stupid that i forgot that) and rerun the script works. but its only an option if you dont have hundreds of lines. il prefere you method anyday.
so thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by