Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Programmatic Report Formatting

The DOM API supports, but does not require, use of templates to generate reports. As this example illustrates, you can use the API to create scripts that generate and format content without the use of templates. The price you pay is a script that is less efficient and maintainable than it would be if it uses templates.

IMPORTANT! Click the Open Script button on this page to use this example. This will download the example and its supporting files to your home directory.

Generate the Population Report

Click any of the following to generate the popuation report.

Edit the RPTPOP Function

1. Click edit('rptpop.m') to edit the rptpop function.

2. Click any of the following

to run the edited report.

Was this topic helpful?