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

Contact us at files@mathworks.com