publish a document with some pictures and no code

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?

Réponses (1)

Muthu Annamalai
Muthu Annamalai le 1 Mar 2013

0 votes

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 commentaire

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?

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by