フィルターのクリア

How can I add a section template to a report multiple times with different information?

3 ビュー (過去 30 日間)
Dabeer Abdul-Azeez
Dabeer Abdul-Azeez 2022 年 9 月 13 日
コメント済み: Shuba Nandini 2023 年 9 月 1 日
I have a report that I need to automate with the MATLAB Report Generator and Report API. After the title page, there is a couple pages for a template for a report on a certain sensor. My document can contain a variable number of sensors, so I need to figure out how to repeat the section multiple times with different information filled in each time.
Here's what I tried so far: I've tried separating the sensor template into another .dotx file and trying to make a Section() with that new .dotx file as the TemplateSrc. My plan was to load in the Section(), fill it in, append it to the report, make a new section based off of the same template, fill it in with different details, and append it to the report, etc. However, when I try to append(report,section), I get an error that "Document does not contain a document part template named: Section1."
  1 件のコメント
Shuba Nandini
Shuba Nandini 2023 年 9 月 1 日
Could you please provide the code so we can investigate this further?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by