Community Profile

photo

Rahul Singhal


Last seen: 6 giorni ago

MathWorks

43 total contributions since 2017

Contact

Rahul Singhal's Badges

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

View details...

Contributions in
View by

Answered
Matlab Report Generator: Internal Link in PPT presentation
Hi Andrea, Thank you for your interest in this PPT API feature. This is something the development team is aware of and is con...

10 giorni ago | 0

Answered
Remove line present under column names in table
Hi Sampath, To customize the horizontal rule in the table header, use the HeaderRule property of the DOM MATLABTable class. Thi...

11 giorni ago | 0

| accepted

Answered
How can I create a List of Figures in a pdf report created with Report Generator?
Hi Alessio, Considering the exact use case you mentioned, the team plans to add new APIs in R2020b, that will automatically cre...

27 giorni ago | 0

Answered
Add header to the splited tables and omit the "" signs
1) I see that you are converting table numeric data into string using below line of code: new_T = varfun(@(x) num2str(x, ['%' s...

27 giorni ago | 0

Answered
How to scale titlepage image?
Hi John, Considering you are using Report API, you can specify the TitlePage object's Image property as a DOM Image object inst...

27 giorni ago | 0

Answered
ModelVariableFinder in R2018b?
Model variable reporter and finder classes were introduced in R2019b. Please refer to the Simulink Report Generator release not...

27 giorni ago | 0

Answered
makeDOMCompilable() DOES NOT resolve compiling application with report generator
Hi Farzad, I see that you are using Report Generator PPT API to generate PowerPoint presentations. To compile a PPT API prog...

circa 2 mesi ago | 2

| accepted

Answered
new line in report paragraph
Hi Oliver, Set the WhiteSpace property of the Paragraph object to preserve any white spaces and line breaks in the content. F...

circa 2 mesi ago | 1

| accepted

Answered
Error saving PDF containing two images
Hi Lluis, The error occurs at line: img2 = Image(BW); Error occurs because mlreportgen.dom.Image does not accept binary ...

2 mesi ago | 0

| accepted

Answered
How can I insert a code that is in the MATLAB function block of my model in a report?
Another solution is to first get the Stateflow chart object and then obtain the script code as below: >> chart = slreportgen.ut...

4 mesi ago | 1

Answered
How to include Report Generator in Standalone Applications?
Make sure to use makeDOMCompilable(); See this: https://www.mathworks.com/help/rptgen/ug/compile-a-report-program.html

4 mesi ago | 1

| accepted

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

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

5 mesi ago | 1

| accepted

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

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

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

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

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

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

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

circa un anno 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...

circa un anno 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...

circa un anno 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...

circa un anno 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....

circa un anno 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 ...

circa un anno 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...

circa un anno 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...

circa un anno 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.

oltre un anno 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 ...

circa 2 anni 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...

circa 2 anni ago | 0

Load more