matlab.unittest.plugins.TestReportPlugin.producingPDF
Class: matlab.unittest.plugins.TestReportPlugin
Namespace: matlab.unittest.plugins
Create plugin that generates PDF test report
Syntax
Description
plugin = matlab.unittest.plugins.TestReportPlugin.producingPDF
creates a plugin that generates a PDF report of test results in a temporary folder.
This syntax is equivalent to plugin =
matlab.unittest.plugins.TestReportPlugin.producingPDF([tempname
'.pdf'])
.
plugin = matlab.unittest.plugins.TestReportPlugin.producingPDF(
saves the report using the specified filename.filename
)
plugin = matlab.unittest.plugins.TestReportPlugin.producingPDF(___,
specifies options using one or more name-value arguments in addition to any of the
input argument combinations in previous syntaxes. For example, Name,Value
)plugin =
matlab.unittest.plugins.TestReportPlugin.producingPDF("PageOrientation","landscape")
creates a plugin that generates a test report in landscape orientation.
Input Arguments
Name-Value Arguments
Examples
Tips
PDF test reports are generated based on your system locale and the font families installed on your machine. When generating a report with a non-English locale, unless your machine has the Noto Sans CJK font families installed, the report might have pound sign characters (#) in place of Chinese, Japanese, and Korean characters.