Main Content
mlreportgen.utils.normalizeLinkID
Description
converts the input link target ID to an ID that is valid for Microsoft® Word, PDF, and HTML reports. The output ID consists of the prefix
outID
= mlreportgen.utils.normalizeLinkID(inID
)mw_
and an MD5 hash of the input ID. The generated ID conforms to the
Word limitation on ID length and the PDF requirement that an ID begin with an alphabetic
character.
Examples
Input Arguments
Output Arguments
Tips
To generate a link target ID for a Simulink® or Stateflow® object, use slreportgen.utils.getObjectID
(Simulink Report Generator). This function generates a link target ID that is
valid for all report types.
Version History
Introduced in R2020a