Community Profile

photo

Rahul Singhal

Last seen: 2 months ago Active since 2017

Statistics

  • Revival Level 3
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
Report generator to Word Table how to use AlowBreakAcrossPages
Hi Daniel, You can refer to the example in the MATLAB command-line help for this class: >> help mlreportgen.dom.AllowBreakAc...

7 months ago | 0

Answered
Set different colors of FormalTable header labels
Hi Marco, Yes, you can customize individual entries in the table header, as shown below: headerLabels = ["R","L"]; FRRt = F...

1 year ago | 1

| accepted

Answered
Add audio to powerpoint presentation with report generator
Hi Lucas, Currently, the PPT API doesn't support programmatically adding an audio or video file to a slide in a PowerPoint pr...

1 year ago | 0

Answered
Add in text cross references to figures, sections, and tables using the Report Genorator toolbox.
Hi Alec, Please see mlreportgen.dom.XRef for creating such cross-references in DOCX reports. Thanks, Rahul

2 years ago | 0

Answered
How do I improve the quality of my plots?
Can you check by setting the Figure reporter's SnapshotFormat to be SVG or PDF, if that helps Fig = mlreportgen.report.Figure(f...

2 years ago | 0

Answered
how to generate a System Design Report with 2018b?
In the model, select: File -> Reports -> System Design Description

2 years ago | 1

| accepted

Answered
NumberFormat on specific/few columns - Report Generator
Hi Ali, You can apply NumberFormat to any specific entry, row, or column in a table. Below are some examples: %% Apply Numbe...

2 years ago | 1

Answered
Generate PDF report with images and table
Hi Ali, The DOM Image object should be created directly with the image file path, and not with the imread content. For e.g., ...

2 years ago | 0

Answered
"Error building part DOM Part" by for HTML report
Hi Kristina, I see that you are creating a single-file HTML report (report type is html-file), but creating a custom template...

2 years ago | 0

Answered
Adding bulleted list to PowerPoint using MATLAB Report Generator
Hi Jayanth, The reason for the missing data in the generated presentation, only when using the custom template, can be becaus...

2 years ago | 0

Answered
How Do I get Less Digits Reported in a Formal Table Matlab Reporter?
Hi Joseph, Use mlreportgen.dom.NumberFormat format to specify the formatting of numbers in the report. -Rahul

2 years ago | 1

Answered
Why does Word not display Simulink images from Simulink Report Generator?
Hi Gideon, As mentioned in my comments, the Diagram reporter by default creates SVG images. If the Word version being used do...

2 years ago | 1

| accepted

Answered
How do you insert a PNG image with Matlab Report Generator when using a Word Document Template?
Hi Tanya, The issue you are facing is because of the usage of inbuilt cover page in the template file. For the purposes of ba...

2 years ago | 1

| accepted

Answered
RepeatAsHeaderRow not working for FormalTable
Hi Callum, RepeatAsHeaderRow format works for the FormalTable. As this is a table row format, it should be applied to a row ...

2 years ago | 0

| accepted

Answered
How to add Picture and Table on the same slide in ppt MATLAB report generation?
Hi Kaustubh, You can use the "Two Content" layout to add a picture and table to the same slide. Below is an example: % Crea...

2 years ago | 0

Answered
How to adjust Table row height in MATLAB Report Generator ?
Hi Kaustubh, In MATLAB 2017b, I am able to successfully run this example to adjust the table row height using the RowHeight o...

2 years ago | 0

| accepted

Answered
How to append the data in specific hole in the .dotx template
Hi Sapna, Here is an example on how to fill holes in the templates: https://www.mathworks.com/help/rptgen/ug/fill-in-the-blan...

3 years ago | 1

| accepted

Answered
How can I add an existing video in a slide (PPT) using MATLAB?
Hi Fabio, Currently, the PPT API doesn't support programmatically adding a video file to a slide. This is something the deve...

3 years ago | 0

Answered
How we can append an excel to a Hole
Hi Sapna, You can use moveToNextHole method to programmatically navigate the holes in the template. Here is a simple example:...

3 years ago | 1

| accepted

Answered
File created using Matlab File Generator is empty (0 bytes)
Hi Stefan, The report content is generated only when the close method is called, which you are missing in your script. Also,...

3 years ago | 0

| accepted

Answered
Report Generator A4
Hi Tomas, You can programmatically update the report layout to use the A4 page size using the PageSize object. See this exam...

3 years ago | 0

| accepted

Answered
Add subscript Text to header of Table in pdf by MATLAB Report Generator
Hi Masood, You can use the DOM mlreportgen.dom.HTML object to include the HTML content, used in the uitable column names, in ...

3 years ago | 1

| accepted

Answered
How can I export a Matlab 2D array in Conditional Formatted table in pdf using MATLAB Report Generator?
Hi Masood, In the sample script that you provided, you can just update the for-loop to provide conditional formatting for eac...

3 years ago | 1

| accepted

Answered
I can't use Document command to generate a Report
The issue in the non-working script is that it has a typo in the package import statement, which is the reason it is not able to...

3 years ago | 1

Answered
How can a create a table on contents in a pdf document created using the Matlab Report Generator
Hi Stephen, In the Report API program, I suggest to use mlreportgen.report.TableOfContents reporter to include the table of c...

3 years ago | 0

| accepted

Answered
How can I insert a page break in a Matlab Report Generator PDF file
Hi Stephen, You can use mlreportgen.dom.PageBreak object or mlreportgen.dom.PageBreakBefore format to insert a page break in ...

3 years ago | 0

| accepted

Answered
How do I create equations in MS Word using Report explore app?
Starting R2017b, you can use the mlreportgen.report.Equation reporter to programmatically insert equations in your Report API re...

3 years ago | 0

Answered
How can I open the subsystems inside implementation by clicking on subsystem in report generated by report generator tool.
Hi Arpita, In the system snapshots created using the slreportgen.report.Diagram reporter, clicking on a diagram element navig...

3 years ago | 0

Answered
Is it possible to programmatically insert a figure on a form-based report using Simulink Report Generator?
Hi Gerardo, We highly recommend using the programmatic Report API over the Report Explorer to generate custom Simulink reports....

3 years ago | 0

| accepted

Answered
System Snapshot results in poor quality images when used with Report Forms
Hi Gerardo, Microsoft provided support for SVG in Office 2016, so make sure you are using Word 2016 or later version to open ...

3 years ago | 0

| accepted

Load more