User`s guide
Link Type Properties
9-7
Property Description
ContentsFcn The MATLAB callback invoked when you click the Document
Index tab in the Requirements Traceability Link Editor. This
function has a single input argument that contains the full
path of the resolved function or, if the link type is not a file, the
Document field contents.
The function returns three outputs:
• Labels
• Depths
• Locations
BrowseFcn The MATLAB callback invoked when you click Browse in the
Requirements Traceability Link Editor. You do not need this
function when the link type is a file. The function takes no
input arguments and returns a single output argument that
identifies the selected document.
CreateURLFcn The MATLAB callback that constructs a path name to the
requirement. This function uses the document path or URL
to create a specific requirement URL. The requirement URL
is based on a location identifier specified in the third input
argument. The input arguments are:
• Full path name to the requirements document
• Info about creating a URL to the document (if applicable)
• Location of the requirement in the document
This function returns a single output argument, the string to
use when navigating to the requirement from the generated
report.
IsValidDocFcn The MATLAB callback invoked when you run a requirements
consistency check. The function takes one input argument—the
fully qualified name for the requirements document. It returns
true if the document can be located; it returns false if the
document cannot be found or the document name is invalid.