Main Content


Class: sltest.testmanager.TestResultReport
Namespace: sltest.testmanager

Generate link to table of contents


para = genHyperLinkToToC(obj,indent)


para = genHyperLinkToToC(obj,indent) generates link to the report table of contents.

The link appears at the end of sections:

Input Arguments

expand all

Test report, specified as a sltest.testmanager.TestResultReport object.

Space between the left outer boundary of this paragraph and the left inner boundary of the link, specified as a character vector.

The character vector has the format valueUnits, where Units is an abbreviation for the units in which the indentation is expressed. Use one of these abbreviations for the units for indentation.

  • no abbreviation — pixels

  • cm — centimeters

  • in — inches

  • mm — millimeters

  • pi — picas

  • pt — points

  • px — pixels

Example: '5mm'

Output Arguments

expand all

The link paragraph generated by the method, returned as a mlreportgen.dom.Paragraph (MATLAB Report Generator) object.

Version History

Introduced in R2016a