How can I save all screen outputs and figures generated in one MS Word file?

Hi, I'm running some scripts which generate some results on the screen and some figures plotted. I know diary can save all screen results, but not figures. Is there a way to save screen results and figures in one MS word file?
Thanks!

Answers (1)

doc publish

2 Comments

Thanks, but I don't want to publish codes. I only want to pusblish screen outcome and figures...
Look at the entire help, you can set the options to not show the code
options_doc_nocode.showCode=false;
publish('YourFileName.m',options_doc_nocode)

Sign in to comment.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Asked:

on 15 Jul 2014

Commented:

on 16 Jul 2014

Community Treasure Hunt

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

Start Hunting!