publish a document with some pictures and no code

2 views (last 30 days)
I want to publish a document on the use GUI program,so there should be some pictures created by GUI and codes should be excluded from the document.How can I do that?

Answers (1)

Muthu Annamalai
Muthu Annamalai on 1 Mar 2013
Have you looked at 'publish' command where some additional markup on your M-files can convert them into spiffy looking HTML, RTF, DOC etc.
Also to take pictures of the plots, etc, you can use 'snapnow' function http://www.mathworks.com/help/matlab/ref/snapnow.html
HTH
  1 Comment
QiQin Zhan
QiQin Zhan on 1 Mar 2013
When we use the 'publish'command,there will always be some code in the published file.Is it possible for the code not being published?

Sign in to comment.

Categories

Find more on MATLAB 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!