live script to pdf without code output in the file

조회 수: 22 (최근 30일)
Mikkel Star
Mikkel Star 2021년 2월 14일
댓글: Mikkel Star 2021년 2월 14일
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

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 2월 14일
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
Mikkel Star
Mikkel Star 2021년 2월 14일
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

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by