Main Content

Navigate to Requirements in IBM DOORS Baselines

You can configure Requirements Toolbox™ to navigate to requirements in read-only versions of IBM® DOORS® modules, called baselines. For more information, see Baselines on the IBM website.

You can navigate to requirements in baselines from:

  • Referenced requirements that you import from IBM DOORS

  • Items in MATLAB® or Simulink® that link directly to requirements in IBM DOORS

For more information about importing from and linking directly to IBM DOORS modules, see Import Requirements from IBM DOORS and Link Directly to Requirements in Third-Party Applications.

Configure Requirements Toolbox to Navigate to Baseline

To configure Requirements Toolbox to navigate to a baseline, use the slreq.cmConfigureVersion function. For example, this code configures Requirements Toolbox to navigate to the baseline 1.0 in an IBM DOORS module that has the ID 00000221.

prevVersion = slreq.cmConfigureVersion( ...
    "linktype_rmi_doors","00000221","1.0");
To configure Requirements Toolbox to navigate to the current version, specify the baseline as an empty string.
prevVersion = slreq.cmConfigureVersion( ...
    "linktype_rmi_doors","00000221","");
To check the current configured baseline version, use the slreq.cmGetVersion function. For example, this code returns the configured baseline version for the an IBM DOORS module that has the ID 00000221.
currentVersion = slreq.cmGetVersion("linktype_rmi_doors","00000221")
currentVersion =

    '1.0'

Navigate to Baseline From Imported Requirements

To navigate to a requirement in a baseline from an imported requirement:

  1. Open the Requirements Editor.

  2. Select the imported requirement.

  3. In the Properties pane, click Show in document.

    The mouse points to the Show in document button in the Requirements Editor

The requirement opens in a read-only version of the module.

A baseline of a requirements module for a fault tolerant control system in read-only mode

Note

You cannot import or update from a baseline. You can import and update only from the current version.

Navigate to Baseline by Using Direct Links

To navigate to a requirement in a baseline that links directly from an item in MATLAB or Simulink, open the artifact that contains the link, then use one of these approaches:

  • Right-click the linked item and select Requirements, then select the linked requirement from the menu.

    The mouse points to a linked requirement named 1.1.1.1 Throttle sensor in the context menu

  • Use the Requirements Editor:

    1. Open the Requirements Editor.

    2. Click Show Links.

    3. Expand the link set that contains the direct link, then select the direct link.

    4. In the Properties panel, click the hyperlink next to Destination.

      The mouse points to the hyperlink next to Destination in the Properties pane

The requirement opens in a read-only version of the module.

See Also

Apps

Functions

Topics