| 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 |
Tasks demonstrated in this tutorial include the following:
Evaluating MATLAB expressions
Formatting reports with multiple chapters
Running loops and flow control
Handling errors
Inserting workspace data
Inserting MATLAB images
This tutorial takes you through the steps required to design a report template file and generate a report from it in the MATLAB software.
The report template that you design does the following:
Uses M-code to create several magic squares – matrices whose columns, rows, and diagonals all add up to the same number.
Displays the magic squares in the generated report as matrices or images, depending on their size.
For more information on magic squares, see Matrices and Magic Squares in the MATLAB documentation.
Note You do not need to know the MATLAB software to use this tutorial. However, knowledge of MATLAB is helpful for understanding the M-code that executes during report generation. |
![]() | Creating MATLAB Reports | Setting Report Options in 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 |