最新のリリースでは、このページがまだ翻訳されていません。 このページの最新版は英語でご覧になれます。

MATLAB Report Generator のタスクの例

Report Generator のサンプル タスクと関連コード

これらの例は、レポート API を使用してレポートの内容を作成および書式設定する方法を示します。

Word

ページ レイアウト

Create a Report With Landscape Pages

Generate a report that has landscape pages.

Create a Report With Portrait and Landscape Pages

Generate a report that has both portrait and landscape pages.

Set Page Margins in a Word Report

Define margins and header, footer, and gutter sizes for a DOCX page.

Tables

Side-By-Side Tables

Arrange tables next to each other on a page.

Fit Wide Tables in a Page

Slice a wide table to fit on a page.

Span a Table Entry Across Rows and Columns

Set table entry to span across rows or columns.

Aligning Table Entry Content Horizontally

Horizontally align table entries.

Set Table Column Width

Set table column widths.

Create a Zebra-Striped Table

Create striped table with alternating row colors.

イメージおよび図

Scale Image To Fit Page

Set image height and width to fit it on page.

Side-By-Side Images

Arrange images next to each other on a page.

Side-By-Side Figures

Arrange MATLAB figures next to each other on a page.

番号付け

Number Section Headings, Table Titles, and Figure Captions Programmatically

Create numbered chapter and subsection headings.

Programmatically Number Pages

Use the DOM and Report APIs to number Word or PDF pages.

PDF

ページ レイアウト

Create a Report With Landscape Pages

Generate a report that has landscape pages.

Create a Report With Portrait and Landscape Pages

Generate a report that has both portrait and landscape pages.

Set Page Margins in a PDF Report

Define margins and header, footer, and gutter sizes for a PDF page.

Tables

Side-By-Side Tables

Arrange tables next to each other on a page.

Fit Wide Tables in a Page

Slice a wide table to fit on a page.

Span a Table Entry Across Rows and Columns

Set table entry to span across rows or columns.

Aligning Table Entry Content Horizontally

Horizontally align table entries.

Set Table Column Width

Set table column widths.

Create a Zebra-Striped Table

Create striped table with alternating row colors.

イメージおよび図

Scale Image To Fit Page

Set image height and width to fit it on page.

Side-By-Side Images

Arrange images next to each other on a page.

Side-By-Side Figures

Arrange MATLAB figures next to each other on a page.

Hyperlink Image

Add hyperlinks to an image.

番号付け

Number Section Headings, Table Titles, and Figure Captions Programmatically

Create numbered chapter and subsection headings.

Programmatically Number Pages

Use the DOM and Report APIs to number Word or PDF pages.

HTML

Tables

Side-By-Side Tables

Arrange tables next to each other on a page.

Span a Table Entry Across Rows and Columns

Set table entry to span across rows or columns.

Set Table Column Width

Set table column widths.

Create a Zebra-Striped Table

Create striped table with alternating row colors.

イメージおよび図

Side-By-Side Images

Arrange images next to each other on a page.

Side-By-Side Figures

Arrange MATLAB figures next to each other on a page.

Hyperlink Image

Add hyperlinks to an image.

番号付け

Number Section Headings, Table Titles, and Figure Captions Programmatically

Create numbered chapter and subsection headings.