このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
MATLAB Report Generator のタスクの例
Report Generator のサンプル タスクと関連コード
これらの例は、DOM API とレポート API を使用してレポートのコンテンツを作成および書式設定する方法を示します。
Word
ページ レイアウト
- 横向きのページでのレポートの作成
横向きのページを含むレポートの生成。 - 縦向きと横向きのページでのレポートの作成
縦向きと横向きのページの両方を含むレポートを生成する。 - Customize the Page Size and Margins of a Report Programmatically
Use Report API objects to customize page dimensions. - Customize the Page Size and Margins of a Word Report Using Templates
Modify the page dimensions in the Word templates for the title page, table of contents, and chapter reporters. - Set Page Margins in a Word Report
Define margins and header, footer, and gutter sizes for a DOCX page. - ページ罫線をもつ Microsoft Word ドキュメントの生成
mlreportgen.dom.PageBorder
オブジェクトを使用し、プログラムによって Word ドキュメントのページ罫線を指定する。 - Generate a Report API Report with Page Borders
Specify page borders for Report API reports programmatically by usingmlreportgen.dom.PageBorder
objects. - 左右に並べられたテーブル
ページ上でテーブルを隣どうしに配置する。 - 左右に並べられた Figure
ページ上で MATLAB の figure を隣どうしに配置する。 - 左右に並べられたイメージ
ページ上でイメージを隣どうしに配置する。 - Fit Wide Tables in a Page
Slice a wide table to fit on a page. - Center Figure Snapshot on a Page
Center a figure snapshot on a landscape page for PDF and Word reports. - ページに収まるようにイメージをスケーリングする
mlreportgen.dom.ScaleToFit
オブジェクトを使用してイメージをページに収める。 - Center Image on a Page
Center an image using an invisible 1-by-1 table that has the same size as the page body. - Specify Space Between Paragraphs
Change the spacing between paragraphs in a report.
テーブル
- cell 配列からのテーブルの作成
テーブルを cell 配列としてモデル化することにより、テーブルの作成を簡略化する。 - Span a Table Entry Across Rows and Columns
Set table entry to span across rows or columns. - テーブル エントリ コンテンツの水平方向の配置
書式プロパティと書式オブジェクトを使用して、テーブル エントリのコンテンツを配置する。 - テーブルの列幅の設定
テーブルの列幅を設定する。 - テーブル内の数値の書式設定
mlreportgen.dom.NumberFormat
オブジェクトを使用したテーブル内の数値の書式設定。 - Create a Zebra-Striped Table
Create striped table with alternating row colors.
リスト
- Multilevel List
Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects. - Custom Styled Word List
Use a custom Word template to style a multilevel list.
番号付け
- 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. - Number Pages in a Word Template
Specify page numbering in a report by customizing a Word template.
イメージ、Figure、方程式
- レポートにおけるインライン式の作成
レポートのテキストの行にインライン式を挿入する。 - レポート生成中における MATLAB Figure の表示の防止
レポートに含める Figure を MATLAB で非表示にする。
スタイル
- Define Styles Programmatically
Simplify formatting of a report by using named sets of formats in a report program.
ページ レイアウト
- 横向きのページでのレポートの作成
横向きのページを含むレポートの生成。 - 縦向きと横向きのページでのレポートの作成
縦向きと横向きのページの両方を含むレポートを生成する。 - Customize the Page Size and Margins of a Report Programmatically
Use Report API objects to customize page dimensions. - Customize the Page Size and Margins of a PDF Report Using Templates
Modify the page dimensions in the PDF templates for the title page, table of contents, and chapter reporters. - Set Page Margins in a PDF Report
Define margins and header, footer, and gutter sizes for a PDF page. - ページ境界線をもつ PDF ドキュメントの生成
mlreportgen.dom.PageBorder
オブジェクトを使用し、プログラムによって PDF ドキュメントのページ境界線を指定する。 - Generate a Report API Report with Page Borders
Specify page borders for Report API reports programmatically by usingmlreportgen.dom.PageBorder
objects. - 左右に並べられたテーブル
ページ上でテーブルを隣どうしに配置する。 - 左右に並べられた Figure
ページ上で MATLAB の figure を隣どうしに配置する。 - 左右に並べられたイメージ
ページ上でイメージを隣どうしに配置する。 - Fit Wide Tables in a Page
Slice a wide table to fit on a page. - Center Figure Snapshot on a Page
Center a figure snapshot on a landscape page for PDF and Word reports. - ページに収まるようにイメージをスケーリングする
mlreportgen.dom.ScaleToFit
オブジェクトを使用してイメージをページに収める。 - Center Image on a Page
Center an image using an invisible 1-by-1 table that has the same size as the page body. - Center Formal Image in a PDF Report
Center a formal image using an invisible 1-by-1 table that has the same size as the page body. - Specify Space Between Paragraphs
Change the spacing between paragraphs in a report.
テーブル
- cell 配列からのテーブルの作成
テーブルを cell 配列としてモデル化することにより、テーブルの作成を簡略化する。 - Span a Table Entry Across Rows and Columns
Set table entry to span across rows or columns. - テーブル エントリ コンテンツの水平方向の配置
書式プロパティと書式オブジェクトを使用して、テーブル エントリのコンテンツを配置する。 - テーブルの列幅の設定
テーブルの列幅を設定する。 - テーブル内の数値の書式設定
mlreportgen.dom.NumberFormat
オブジェクトを使用したテーブル内の数値の書式設定。 - Create a Zebra-Striped Table
Create striped table with alternating row colors. - Excel から PDF
Microsoft®Excel® スプレッドシートからの PDF レポートの生成。
リスト
- Multilevel List
Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects.
イメージ、Figure、方程式
- イメージへのハイパーリンク
イメージへのハイパーリンクの追加。 - レポートにおけるインライン式の作成
レポートのテキストの行にインライン式を挿入する。 - レポート生成中における MATLAB Figure の表示の防止
レポートに含める Figure を MATLAB で非表示にする。
番号付け
- 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. - Number Pages in a PDF Template
Specify page numbering in a report by customizing a PDF template.
スタイル
- Define Styles Programmatically
Simplify formatting of a report by using named sets of formats in a report program.
HTML
ページ レイアウト
- 左右に並べられたテーブル
ページ上でテーブルを隣どうしに配置する。 - 左右に並べられた Figure
ページ上で MATLAB の figure を隣どうしに配置する。 - 左右に並べられたイメージ
ページ上でイメージを隣どうしに配置する。 - Specify Space Between Paragraphs
Change the spacing between paragraphs in a report.
テーブル
- cell 配列からのテーブルの作成
テーブルを cell 配列としてモデル化することにより、テーブルの作成を簡略化する。 - Span a Table Entry Across Rows and Columns
Set table entry to span across rows or columns. - テーブルの列幅の設定
テーブルの列幅を設定する。 - テーブル内の数値の書式設定
mlreportgen.dom.NumberFormat
オブジェクトを使用したテーブル内の数値の書式設定。 - Create a Zebra-Striped Table
Create striped table with alternating row colors.
リスト
- Multilevel List
Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects.
イメージ、Figure、方程式
- イメージへのハイパーリンク
イメージへのハイパーリンクの追加。 - レポートにおけるインライン式の作成
レポートのテキストの行にインライン式を挿入する。 - レポート生成中における MATLAB Figure の表示の防止
レポートに含める Figure を MATLAB で非表示にする。
番号付け
- Number Section Headings, Table Titles, and Figure Captions Programmatically
Create numbered chapter and subsection headings.
スタイル
- Define Styles Programmatically
Simplify formatting of a report by using named sets of formats in a report program.
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)