Answered
Report only showing names of the objects instead of their content
You can not add Report API objects like TitlePage to a DOM Document. Use mlreportgen.report.Report instead of the DOM Document. ...

4 years ago | 0

| accepted

Answered
Make first column of table bold
Hi Jack, You can use the ColSpecGroups property of the FormalTable to format one or more columns in the table. Use the Bold for...

5 years ago | 0

| accepted

Answered
How to center Image
Hi Jack, I am not sure about the error, but in your code you are overriding the Style property value of the Image. So the Heigh...

5 years ago | 0

| accepted

Answered
How to add sections to PowerPoint with MATLAB Report Generator
Hi Ruixin, Currently, the MATLAB Report Generator's PPT API does not support creating sections programmatically. The team plan...

5 years ago | 2

| accepted

Answered
how to close open pdf file generated by report generator before running code for another subject again.
Hi Sonia, Starting R2018b, you can use close or closeAll methods of mlreportgen.utils.rptviewer class to close the open PDF r...

5 years ago | 0

Answered
How do I insert *.png figures directly into a Report Generator word document?
Hi Richard, Your first attempt, i.e., using the mlreportgen.dom.Image class, was the right way to add an image to the report....

5 years ago | 1

| accepted

Answered
Adjust distance between snapshot and caption (report generator)
Hi Martin, You can customize the Figure reporter's template to adjust the distance between the generated figure and caption by ...

5 years ago | 0

| accepted

Answered
Format table for mlreportgen.ppt
Hi Tristany, Currently, the programmatic table formating options are limited for the PowerPoint API and the team is working t...

5 years ago | 0

Answered
Appending HTML to document object adds additional unwanted tags.
Hi Aidan, If you want to add HTML content in a HTML report, and do not want additonal tags to be created, you can use the DOM m...

5 years ago | 0

| accepted

Answered
How can I insert a variable in a paragraph using Report Generator?
You can report on a variable using mlreportgen.report.MATLABVariable reporter class.

5 years ago | 0

Answered
How to centre align a table with width>100%?
If the |Width| of a |Table| is defined in percentage, it denotes the percentage of the page width it should take to render that ...

5 years ago | 0

Answered
How do I align this table to the centre?
You can use the |HAlign| property of the |Table|. See <https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.table-class.h...

5 years ago | 0

Answered
MATLAB telling me I need product licenses for things I'm not using?
An |Image| can not be directly appended to a |TableRow|. I would suggest to create a |TableEntry| with the |Image|, and then ap...

5 years ago | 2

| accepted

Answered
how to make a custom horizontal alignment in mlreportgen.dom.*?
Hi Aju, The team has a planned enhancement to support multi-column page layout and will be available in future releases. As a...

6 years ago | 0

Answered
How to insert an image to table entry in this situation in Report Generator ?
Hi Tong, For the case where you are updating the |Content| property to change the text in a table entry, that particular chil...

6 years ago | 0

| accepted

Answered
How to change the position of table in Report Generator?
Hi Tong, The default layout of the page defines the size for the page margins (top, bottom, left, right) to be "1in" each and...

6 years ago | 1

| accepted

Answered
How to create a PDF report with for-loop in Reporter Generator?
Below is a sample code to create a new landscape chapter for every image and add them to the report: import mlreportgen.rep...

6 years ago | 0

| accepted

Answered
How to change fontsize in the report generator explorer?
Hi Baptiste, In Report Explorer, are you using the new pipeline to generate reports, i.e., reports whose output type is templ...

6 years ago | 0

| accepted

Answered
How to I save the report generated in the current folder ?
See the setup file which specifies the file name for the generated report and the directory where it is saved. Alternatively,...

6 years ago | 0

| accepted

Answered
Multiple reports using Report Generator code
Similar to: <https://www.mathworks.com/matlabcentral/answers/385718-programmatically-generating-report-generator> Make sure t...

6 years ago | 0

Answered
Programmatically generating Report Generator
Hi, From the code it seems that the output report name is always kept the same. So if you generate multiple reports in a loop...

6 years ago | 0

Answered
How can I run a report generator file from the command window?
From the command window, you can use the |report| command to generate report from a setup file ( |.rpt|) file. See <https://www....

6 years ago | 0

Answered
Report Generator: Error when defining table column width in percent (fo:table-cell)
I am not able to reproduce this issue, but the possible reason can be that in R2017a, the default table layout for PDF output wa...

6 years ago | 0

Answered
Report Generator: How to change horizontal text alignment for individual columns of the same table?
The |Style| property of |TableCopSpec| can be used to apply any format to one or more adjacent table columns. The below script w...

6 years ago | 0

| accepted

Answered
Having trouble with fonts and centering a plot using Report Generator
For |Direct PDF (from template)| output type, the issue regarding the alignment of the plots, created using the Report Explorer'...

7 years ago | 0