User`s guide
Desktop Tools and Development Environment
20-21
Compatibility Considerations
See the compatibility considerations associated with “M-Lint Detection of Missing End-
of-Line Semicolons Enhanced” on page 20-19.
Publishing Results
New features and changes introduced in Version 7.4 (R2007a) are
• “Publishing Function M-Files Now Supported” on page 20-21
• “Specify Maximum Number of Output Lines in Published File” on page 20-21
• “New Publishing Options” on page 20-21
Publishing Function M-Files Now Supported
You can now publish an M-file function. When publishing an M-file function, you cannot
evaluate the code. This feature effectively allows you to save M-file functions to output
formats such as HTML or Microsoft Word documents, with formatting. To publish an M-
file function, first clear the Evaluate code preference in Editor/Debugger Publishing
Preferences, or run the publish function with the evalCode option set to false.
Specify Maximum Number of Output Lines in Published File
Using the publish function, you can specify the maximum number of lines in a published
file. Set the new maxOutputLines field to a nonnegative value. The default value is Inf.
New Publishing Options
New publishing options provide increased flexibility and control over the appearance
of the published document. The added options are for adding inline links, inline links
with link text, graphics, and HTML markup. See Mark Up MATLAB Comments for
Publishing for more information.