How to AutoNumber report's sections(not only chapters) using word template?

1 回表示 (過去 30 日間)
cancan yuan
cancan yuan 2016 年 12 月 13 日
回答済み: Paul Kinnucan 2017 年 2 月 9 日
Hello! I am looking for a way to AutoNumber my report's sections using word template in MATLAB 2014b? I can only find the way to AutoNumber the report's chapters using word template from the matlab help. Thank you!

回答 (1 件)

Paul Kinnucan
Paul Kinnucan 2017 年 2 月 9 日
You can use Word seq fields in a template to create hierarchical numbering schemes for chapters and subsections. See Numbering with Seq Fields. The R2017a release of the Report Generator includes a Word template that uses seq fields to number chapters and sections.
To number sections in a Word report in releases from R2014b through R2016b:
  1. Download the attached zip file, which contains the R2017a autonumbering template.
  2. Unzip the template anywhere on the MATLAB path.
  3. Open your report setup (.rpt) file in the Report Explorer.
  4. Select Word (from template) as the report's output type.
  5. Select Default Numbered as the report's template.
  6. Run your report.

カテゴリ

Help Center および File ExchangeCreate Report Programs Using the Report API についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by