slreq.registerNavigationFcn
Register navigation function for referenced requirements
Description
slreq.registerNavigationFcn(
registers a navigation callback function, domain,callbackFunction)callbackFunction, for
referenced requirements imported from ReqIF™ files that have the Domain
property value equal to domain. Use this function to enable navigation
from the Requirements
Editor to the original requirement in a third-party requirements management tool.
Note
The navigation callback function should take this form:
function myCustomNavigationFunction(ref) % Enter your implementation here end
slreq.Reference object as an input.
Examples
Input Arguments
Tips
You can clear the registered navigation callback function for a domain by entering:
slreq.registerNavigationFcn(domain,"")You can get the value of the Domain property for a referenced requirement at the MATLAB® command prompt by entering:
domain = myReferencedRequirement.Domain
domain = 'Third-Party Tool'You can use the template generated by Requirements Toolbox™ to create your navigation callback function. For more information, see Navigate from Imported Requirements to Original Requirements.
Version History
Introduced in R2019a