Main Content

Configure金宝appRequirementsforIBM理性的DOORSSoftware

金宝app®Requirements™communicates with IBM®理性的®DOORS®so that you can import requirements and establish links between requirements and Model-Based Design items such as Simulink model elements and tests. After you install or update MATLAB®, Simulink, or IBM Rational DOORS, you must configure MATLAB to communicate with Rational DOORS. You can only integrateSimulink Requirementsand Rational DOORS on Windows®platforms.

First perform the setup described inConfigure Simulink Requirements for Interaction with Microsoft Office and IBM Rational DOORS. IfSimulink Requirementsand IBM Rational DOORS communicate after performing that setup, you do not need to perform the setup described here.

Manually Install Additional Files forDOORSSoftware

The setup script automatically copies the required DOORS files to the installation folders. However, the script might fail because of file permissions in your DOORS installation. If the script fails, change the file permissions on the DOORS installation folders and rerun the script.

You can also manually install the required files into the specified folders, as described in the following steps:

  1. If the DOORS software is running, close the application.

  2. Copy the following files frommatlabroot\toolbox\shared\reqmgt\dxlto the\lib\dxl\addinsfolder.

    addins.idx addins.hlp

    If you have not modified the files, replace any existing versions of the files; otherwise, merge the contents of both files into a single file.

  3. Copy the following files frommatlabroot\toolbox\shared\reqmgt\dxlto the\lib\dxl\addins\dmifolder.

    dmi.hlp dmi.idx dmi.inc runsim.dxl selblk.dxl

    Replace any existing versions of these files.

  4. Open the\lib\dxl\startup.dxlfile. In the user-defined files section, add the followingincludestatement:

    #include 

    If you upgrade from Version 7.1 to a later version of the DOORS software, perform these additional steps:

    1. In your DOORS installation folder, navigate to the…\ lib \ dxl \ startupFilessubfolder.

    2. In a text editor, open thecopiedFromDoors7.dxlfile.

    3. Add//before this line to comment it out:

      #include 

    4. Save and close the file.

  5. Start the DOORS and MATLAB software.

  6. Run the setup script using the following MATLAB command.

    rmi setup

Address DXL Errors

If you try to synchronize your Simulink model to a DOORS project without configuringSimulink Requirementsfor use with DOORS, you might see the following errors:

-E- DXL:  incorrectly concatenated tokens -E- DXL:  undeclared variable (dmiRefreshModule) -I- DXL: all done with 2 errors and 0 warnings

If you see these errors, exit the DOORS software, rerun the steps inConfigure Simulink Requirements for Interaction with Microsoft Office and IBM Rational DOORS, and restart the DOORS software.

Related Topics