Documentation

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Options for Presenting Your Code

MATLAB® provides options for presenting your code to others.

MethodDescriptionOutput FormatsDetails

Command-line help

Use comments at the start of a MATLAB file to display help comments when you type help file_name in the Command Window.

  • ASCII text

Add Help for Your Program

Publish

Use comments with basic markup to publish a document that includes text, bulleted or numbered lists, MATLAB code, and code results.

  • XML

  • HTML

  • LaTeX

  • Microsoft® Word (.doc/.docx)

  • Microsoft PowerPoint® (ppt)

  • PDF

Publishing MATLAB Code

Publishing MATLAB Code from the Editor videoPublishing MATLAB Code from the Editor video

Help Browser Topics

Create HTML and XML files to provide your own MATLAB help topics for viewing from the MATLAB Help browser or the web.

  • HTML

Display Custom Documentation

Notebook

Use Microsoft Word to create electronic or printed records of MATLAB sessions for class notes, textbooks, or technical reports.

You must have Microsoft Word software installed.

  • Microsoft Word (.doc/.docx)

Create a MATLAB Notebook with Microsoft Word

MATLAB Report Generator™

Use MATLAB Report Generator to build complex reports.

You must have MATLAB Report Generator software installed.

  • RTF

  • PDF

  • Word

  • HTML

  • XML

MATLAB Report Generator

Was this topic helpful?