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?

回答(1 个)

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 个评论

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?

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by