Help Center Help Center

  • Help Center
  • Trial Software
  • Product Updates
  • Documentation
  • Report Components

MATLAB Report Generator Task Examples

These examples illustrate how to use the DOM API and Report API to create and format report content.

Page Layout

  • Create a Report with Landscape Pages Generate a report that has landscape pages.
  • Create a Report with Portrait and Landscape Pages Generate a report that has both portrait and landscape pages.
  • Customize the Page Size and Margins of a Report Programmatically Use Report API objects to customize page dimensions.
  • Customize the Page Size and Margins of a Word Report Using Templates Modify the page dimensions in the Word templates for the title page, table of contents, and chapter reporters.
  • Set Page Margins in a Word Report Define margins and header, footer, and gutter sizes for a DOCX page.
  • Generate a Microsoft Word Document with Page Borders Specify Word document page borders programmatically by using mlreportgen.dom.PageBorder objects.
  • Generate a Report API Report with Page Borders Specify page borders for Report API reports programmatically by using mlreportgen.dom.PageBorder objects.
  • Side-by-Side Tables Arrange tables next to each other on a page.
  • Side-by-Side Figures Arrange MATLAB figures next to each other on a page.
  • Side-by-Side Images Arrange images next to each other on a page.
  • Fit Wide Tables in a Page Slice a wide table to fit on a page.
  • Center Figure Snapshot on a Page Center a figure snapshot on a landscape page for PDF and Word reports.
  • Scale Image to Fit Page Use an mlreportgen.dom.ScaleToFit object to make an image fit on a page.
  • Center Image on a Page Center an image using an invisible 1-by-1 table that has the same size as the page body.
  • Specify Space Between Paragraphs Change the spacing between paragraphs in a report.
  • Create a Table from a Cell Array Simplify table creation by modeling the table as a cell array.
  • Span a Table Entry Across Rows and Columns Set table entry to span across rows or columns.
  • Align Table Entry Content Horizontally Use format properties and objects to align table entry content.
  • Set Table Column Width Set table column widths.
  • Format Numbers in Tables Format numbers in a table using an mlreportgen.dom.NumberFormat object.
  • Create a Zebra-Striped Table Create striped table with alternating row colors.
  • Multilevel List Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects.
  • Custom Styled Word List Use a custom Word template to style a multilevel list.
  • Number Section Headings, Table Titles, and Figure Captions Programmatically Create numbered chapter and subsection headings.
  • Programmatically Number Pages Use the DOM and Report APIs to number Word or PDF pages.
  • Number Pages in a Word Template Specify page numbering in a report by customizing a Word template.

Images, Figures, and Equations

  • Create an Inline Equation in a Report Insert inline equation in a line of text in a report.
  • Prevent MATLAB Figure Display During Report Generation Make figure that you include in a report invisible in MATLAB.
  • Define Styles Programmatically Simplify formatting of a report by using named sets of formats in a report program.
  • Customize the Page Size and Margins of a PDF Report Using Templates Modify the page dimensions in the PDF templates for the title page, table of contents, and chapter reporters.
  • Set Page Margins in a PDF Report Define margins and header, footer, and gutter sizes for a PDF page.
  • Generate a PDF Document with Page Borders Specify PDF document page borders programmatically by using mlreportgen.dom.PageBorder objects.
  • Center Formal Image in a PDF Report Center a formal image using an invisible 1-by-1 table that has the same size as the page body.
  • Excel to PDF Create a PDF report from a Microsoft ® Excel ® spreadsheet.
  • Hyperlink Image Add hyperlinks to an image.
  • Number Pages in a PDF Template Specify page numbering in a report by customizing a PDF template.

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

  • América Latina (Español)
  • Canada (English)
  • United States (English)
  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)

Contact your local office

IMAGES

  1. PDF Operation in Matlab Tutorial

    pdf report matlab

  2. (PDF) MATLAB By Examples For Engineers and Students

    pdf report matlab

  3. (PDF) Report on how to Create a calculator using Matlab

    pdf report matlab

  4. Génération de rapports

    pdf report matlab

  5. (PDF) A short report on MATLAB implementation of subset simulation

    pdf report matlab

  6. (PDF) MATLAB by Example

    pdf report matlab

VIDEO

  1. Research report writing using Chat GPT

  2. Prodim Proliner

  3. lecture04 Script Files and Managing Data in MATLAB

  4. MATLAB für Wirtschaftswissenschaftler (1. Video)

  5. Matlab

  6. PDF report throughout gpexe ⁄ web app

COMMENTS

  1. What Is the Natural Log in MATLAB?

    The natural logarithm function in MATLAB is log(). To calculate the natural logarithm of a scalar, vector or array, A, enter log(A). Log(A) calculates the natural logarithm of each element of A when A is a vector or array.

  2. What Is Pi in MATLAB?

    The expression pi in MATLAB returns the floating point number closest in value to the fundamental constant pi, which is defined as the ratio of the circumference of the circle to its diameter. Note that the MATLAB constant pi is not exactly...

  3. How Does MATLAB Handle a Square Root?

    The square root function in MATLAB is sqrt(a), where a is a numerical scalar, vector or array. The square root function returns the positive square root b of each element of the argument a, such that b x b = a.

  4. PDF Report (Matlab Report Generator)

    PDF Report (Matlab Report Generator). Learn more about pdf, report MATLAB, MATLAB Report Generator.

  5. MATLAB Report Generator Documentation

    You can develop programs that generate reports in PDF, Microsoft® Word, Microsoft PowerPoint®, and HTML. MATLAB Report Generator enables you to dynamically

  6. Generate PDF report with images and table

    Generate PDF report with images and table. Learn more about matlab report generator, report generator, pdf MATLAB, MATLAB Report Generator.

  7. Generating a pdf file using Matlab

    Direct link to this answer ... Put your script into cells. In each cell add a line to print to screen/output a plot. (disp, plot, etc.) - No need

  8. Page layout in a PDF report

    The page layout definition specifies the size and orientation of pages in the section, the sizes of the section's page margins, and the format and starting

  9. Generate PDF test report from test results

    Description. example. generatePDFReport( results ) generates a test report from the test results in PDF format and saves it to a temporary folder. Use this

  10. Generate a Report

    In the Report Explorer toolbar, click the Report button . Press CTRL+R. Select File > Report. Report Output Options. Before

  11. creating a PDF report using simulation results.

    creating a PDF report using simulation results.. Learn more about report generator, simulation MATLAB Report Generator.

  12. Get Started with MATLAB Report Generator

    You can develop programs that generate reports in PDF, Microsoft® Word, Microsoft PowerPoint®, and HTML. MATLAB Report Generator enables you to dynamically

  13. Create Report Programs

    The MATLAB® Report Generator™ includes classes that allow you to create report generator programs. These programs can generate Word, HTML, and PDF reports.

  14. MATLAB Report Generator Task Examples

    Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects. Custom Styled Word List Use a custom Word template to style