MATLAB Community

MATLAB, community & more

Publish to PDF

Sometimes one of my colleagues comes up with a big idea that’s so brilliant, it can be succinctly summarized in a small phrase that downplays its impact. Publish to PDF pretty much says it all. In MATLAB R2009b you can now publish your MATLAB code directly to a PDF-file.

If you’re like me, you probably used to publish to doc and then use Google docs to convert it to a PDF. Well now you can go to PDF directly, and get a higher quality document than you would by going through Word and then to pdf.

That’s pretty much the whole peanut butter sandwhich right there. The easiest way to set this up is through a Publish Configuration.

Publish to PDF from a publish configuration

Here is an image of the output of the sine wave publishing demo (click to see a larger version):

Published PDF of sine wave demo


You can also watch this lovely video on how this new feature works.

  • print


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.