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

2 views (last 30 days)
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)

Srinivas
Srinivas on 15 Jul 2014
doc publish
  2 Comments
TingTing
TingTing on 16 Jul 2014
Thanks, but I don't want to publish codes. I only want to pusblish screen outcome and figures...
Srinivas
Srinivas on 16 Jul 2014
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

Community Treasure Hunt

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

Start Hunting!