Main Content

Import API Packages

MATLAB® Report Generator™ function names, include either an mlreportgen.report prefix or an mlreportgen.dom prefix. You can omit the prefix if you insert these statements at the beginning of any program or function that uses the API.

import mlreportgen.report.*;
import mlreportgen.dom.*;

Examples that refer to API objects and functions without the prefix assume that you have already imported the associated API package.

Related Topics