Thread Subject: Printing Several Published HTML Files

Subject: Printing Several Published HTML Files

From: Brandeis

Date: 14 Oct, 2008 17:30:19

Message: 1 of 4

All,

I am using the MATLAB publish feature to convert my MATLAB code into an HTML document. I have quite a few functions so I have many HTML documents being created.

Is there any way in MATLAB to print a formatted HTML document? I would basically like to set up a MATLAB script to loop through each of the published HTML documents and print the published HTML document using the MATLAB print command. I really do not want to manually print each HTML document separately in IE or firefox.

Thanks!

Subject: Printing Several Published HTML Files

From: Richard Quist

Date: 17 Oct, 2008 01:42:01

Message: 2 of 4

"Brandeis " <dicemarquette.nospam.@yahoo.com> wrote in message <gd2kvb$re1$1@fred.mathworks.com>...
> All,
>
> I am using the MATLAB publish feature to convert my MATLAB code into an HTML document. I have quite a few functions so I have many HTML documents being created.
>
> Is there any way in MATLAB to print a formatted HTML document? I would basically like to set up a MATLAB script to loop through each of the published HTML documents and print the published HTML document using the MATLAB print command. I really do not want to manually print each HTML document separately in IE or firefox.
>
> Thanks!

You might want to look at this recent File Exchange submission: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=21746&objectType=file

-
Richard Quist
Software Developer
The MathWorks, Inc.

Subject: Printing Several Published HTML Files

From: Matthew Simoneau

Date: 17 Oct, 2008 19:46:02

Message: 3 of 4

Thanks for the plug for my File Exchange submission. This question was the inspiration for uploading it, but I forgot to post that I had done so!

Subject: Printing Several Published HTML Files

From: Brandeis

Date: 28 Oct, 2008 16:36:03

Message: 4 of 4

Thanks Matthew for providing such a useful tool. I learned some new tricks also by looking at your code. BTW, adding 'html' as an acceptable format for the MATLAB print command would be a great feature improvement for MATLAB, but your routine works great in the interim!

"Matthew Simoneau" <matthew@mathworks.com> wrote in message <gdaq1q$i7d$1@fred.mathworks.com>...
> Thanks for the plug for my File Exchange submission. This question was the inspiration for uploading it, but I forgot to post that I had done so!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
html Brandeis 14 Oct, 2008 13:35:03
publish Brandeis 14 Oct, 2008 13:35:03
print Brandeis 14 Oct, 2008 13:35:03
documentation Brandeis 14 Oct, 2008 13:35:03
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com