Thread Subject: Exclude code from publishing

Subject: Exclude code from publishing

From: Michael

Date: 27 May, 2009 13:45:03

Message: 1 of 3

Hello everyone!

I wanne publish a *.m file as html. I know that there is the option 'Code Settings -> Include Code' and I can set it to false to suppress code output. My problem is, that I do not know how to suppress code ouput partially. Does anybody know how to suppress code partially?


Best regards!
Michael

Subject: Exclude code from publishing

From: Lawri

Date: 27 May, 2009 14:32:01

Message: 2 of 3

"Michael" <xyMueller@web.de> wrote in message <gvjg4v$bkd$1@fred.mathworks.com>...
> Hello everyone!
>
> I wanne publish a *.m file as html. I know that there is the option 'Code Settings -> Include Code' and I can set it to false to suppress code output. My problem is, that I do not know how to suppress code ouput partially. Does anybody know how to suppress code partially?
>
>
> Best regards!
> Michael
I know 1 way,
 Write your Own HTML file.

 that way you got full control.
(and I mean just a simple one, you could include it to a nicer one through a iframe or something)

Subject: Exclude code from publishing

From: Matthew Simoneau

Date: 28 May, 2009 13:19:02

Message: 3 of 3

There is no markup for hiding some of the code in the output. The only workarounds are to put the code in another file and call it, or to edit the HTML file manually after publishing.

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
g18663 Matthew Simoneau 28 May, 2009 09:24:04
code output sup... Michael 27 May, 2009 09:49:02
publishing Michael 27 May, 2009 09:49:02
rssFeed for this Thread
 

MATLAB Central Terms of Use

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 Terms prior to use.

Contact us at files@mathworks.com