If you plan to use DOORS® software with the RMI, make sure to install additional files to establish communication between the DOORS application and the Simulink® software. Follow the instructions in Configure RMI for Interaction with Microsoft Office and IBM Rational DOORS.
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:
If the DOORS software is running, close the application.
Copy the following files from
matlabroot\toolbox\shared\reqmgt\dxl
to the
<doors_install_dir>\lib\dxl\addins
folder.
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.
Copy the following files from
matlabroot\toolbox\shared\reqmgt\dxl
to the
<doors_install_dir>\lib\dxl\addins\dmi
folder.
dmi.hlp dmi.idx dmi.inc runsim.dxl selblk.dxl
Replace any existing versions of these files.
Open the
<doors_install_dir>\lib\dxl\startup.dxl
file. In the user-defined files section, add the following
include statement:
#include <addins/dmi/dmi.inc>
If you upgrade from Version 7.1 to a later version of the DOORS software, perform these additional steps:
In your DOORS installation folder, navigate to the
...\lib\dxl\startupFiles subfolder.
In a text editor, open the copiedFromDoors7.dxl
file.
Add // before this line to comment it out:
#include <addins/dmi/dmi.inc>
Save and close the file.
Start the DOORS and MATLAB® software.
Run the setup script using the following MATLAB command.
rmi setup
If you try to synchronize your Simulink model to a DOORS project without configuring the RMI for use with DOORS, you might see the following errors:
-E- DXL: <Line:2> incorrectly concatenated tokens -E- DXL: <Line:2> 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 in Configure RMI for Interaction with Microsoft Office and IBM Rational DOORS, and restart the DOORS software.