| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Report Generator |
| Contents | Index |
| Learn more about MATLAB Report Generator |
To create and configure a report template:
Start a MATLAB software session.
Open the Report Explorer by entering report at the MATLAB command line.
Select File > New to create a report template. The new report template has the default name Unnamed.rpt.
In the Properties pane on the right:
To save the report in the current working folder, select Present Working Directory from the Directory list.
Set File format to web (HTML) to create the report as an HTML file.
In the Report description text box, replace the existing text with the following text.
This report creates a series of magic squares and displays them as images. A magic square is a matrix in which the columns, rows, and diagonal all add up to the same number.
Save your report. Select File > Save As and name your report's report template magic_squares.rpt.
The new file name appears in the Outline pane on the left.

![]() | About This Tutorial | Adding Components to the Report Template | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |