Command window and plot into pdf

I would like to know if it possible to save the command window and a plot in the same pdf file in the same page using MATLAB? And if yes, how?

2 Comments

Natalia - what part of the command window to you want to save to a PDF? The commands or variables or ...?

Sign in to comment.

Answers (1)

Hi,
If you want to save MATLAB Commmand Window history into a pdf, you could follow the below mentioned steps
1.Undock theCcommand Window
2. Click on the arrow present at the top right corner
3. Select print from the popup menu
4.Check the print to file checkbox and select MicroSoft Print To PDF from the drop down under Name
Hope this helps!

1 Comment

this did not work for mac and gave no properly configured printer as an ans

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 7 Apr 2020

Commented:

on 24 Nov 2020

Community Treasure Hunt

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

Start Hunting!