Main Content

Manage Navigation Backlinks in External Requirements Documents

Abacklink是一个外部文档中导航链接吗allows you to navigate from a requirement to the linked item in MATLAB®or Simulink®. A backlink either has a corresponding direct link that points from the item in MATLAB or Simulink to the external requirement, or matches a link that points from an item in MATLAB or Simulink to an imported referenced requirement, which is anslreq.Referenceobject that serves as a proxy object for the external requirement. SeeDifferences Between Importing and Direct Linking.

When you create a direct link from an item in MATLAB or Simulink to a requirement in an external document, you can insert a backlink. You cannot insert a backlink when you create a link from an item in MATLAB or Simulink to an imported referenced requirement but you can insert one after you create the link. You can also remove backlinks from an external document if the original link was removed.

You can insert backlinks in:

  • Microsoft®Worddocuments

  • Microsoft Excel®spreadsheets

  • IBM®Rational®DOORS®modules

  • IBM DOORS Next projects

Insert Backlinks in External Requirements Documents

When you create a link from an item in MATLAB or Simulink to an imported referenced requirement or a requirement in an external document,Requirements Toolbox™creates a link as anslreq.Linkobject. In some cases, you can choose to insert a backlink in the external document when you create the direct link.

To update backlinks in theRequirements Editor:

  1. Open theRequirements Editor. At the MATLAB command prompt, enter:

    slreq.editor

  2. In theRequirements Editor, clickShow Linksto view the loaded link sets.

  3. Select the link set that contains the links that you want to use to insert backlinks or to remove stale backlinks. Right-click the link set and selectUpdate Backlinks.

  4. A dialog box displays the number of links checked and the number of backlinks added and removed. ClickOK.

Alternatively, you can update backlinks programmatically by usingupdateBacklinks.

Note

When you selectUpdate Backlinksor useupdateBacklinks, the software does not remove backlinks in IBM DOORS Next. Remove unwanted backlinks in DOORS Next in the DOORS Next interface.

See Also

Related Topics