Community Profile

photo

Rahul Singhal


Last seen: 2 días ago

MathWorks

32 total contributions since 2017

Contact

Rahul Singhal's Badges

  • Revival Level 2
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
What is the difference between the Report and the Document objects?
See the Reporters and DOM Objects section in: https://www.mathworks.com/help/rptgen/ug/what-is-a-reporter.html

2 días ago | 0

Answered
Change font of mlreportgen.report.TableOfContents
Hi Christian, I am guessing you are using mlreportgen.report.TableOfContents reporter to create this TOC and you have customi...

2 días ago | 0

Answered
How do I set text to left or right side in tables generated in report generator?
Hi Per, As you want content of some columns to be aligned to the left and content of some columns to be aligned to the right, y...

6 meses ago | 1

| accepted

Answered
How to not include an element in the Table of Content?
Hi Jack, As mentioned in the answer of the linked question, the TOCObj property of TableOfContents reporter was added in R201...

7 meses ago | 0

| accepted

Answered
Make every column of Table the same size
Use mlreportgen.dom.ResizeToFitContents format, see https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.resizetofitcontents...

7 meses ago | 0

| accepted

Answered
Report generator only showing names of the objects instead of their content
Answered here: https://www.mathworks.com/matlabcentral/answers/473437-report-only-showing-names-of-the-objects-instead-of-their-...

7 meses ago | 0

Answered
Make first row of Formal Table bold
Hi Jack, I think you want the header row of the FormalTable to be bold. Below example demostrates how to style the header fir...

7 meses ago | 0

| accepted

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. ...

7 meses 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...

8 meses 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...

8 meses 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...

8 meses ago | 1

| 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...

8 meses 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....

8 meses 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 ...

8 meses 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...

8 meses 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...

8 meses 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.

11 meses 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 ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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,...

más de 1 año 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...

casi 2 años 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...

casi 2 años 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....

casi 2 años 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...

más de 2 años ago | 0

Load more