Is it possible for multiple instances of MATLAB to communicate with a single instance of IBM Rational DOORS?

3 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jan 2020
In order for multiple releases of MATLAB to communicate with a single instance of IBM Rational DOORS, the version of "dmi.inc" which is transferred to the DOORS installation directory should be from the most recent release of MATLAB you are running.
However, this is not a fully supported workflow across all releases of MATLAB and may lead to compatibility issues in some instances. For many releases, a newer dmi.inc file can be used with a previous release of MATLAB, but dmi.inc files from R2018b or more recent releases (R2019a, etc) may conflict with releases older than R2018b. It may be possible to configure DOORS to use a specified dmi.inc file on start-up, potentially by using the startup.dxl file under [DOORS_INSTALL_DIR]/lib/dxl/. However, configuring the DOORS client to use a specific dmi.inc file on startup is beyond the scope of MathWorks Technical Support, and we recommend contacting IBM Support for assistance with this workflow.
For dmi.inc files which are compatible with previous releases, you will not need to rerun ">>rmi('setup') every time when switching between MATLAB versions. Rather, only perform the "rmi('setup')" step from the newest MATLAB release, so that the most recent "dmi.inc" is copied into the DOORS installation folder.
The biggest inconvenience that may arise during this workflow will be the navigation from DOORS to MATLAB. This is because DOORS tries to connect with MATLAB Automation server, and only one version of MATLAB can be registered for automation in Windows Registry. When you switch between MATLAB versions, you will need to first start the target version of MATLAB as Administrator, and run ">> regmatlabserver", and then restart MATLAB as a normal user if DOORS Client is operating as a normal user. If this is not done, you may receive an "Automation server not found" error, or you may observe another instance of MATLAB spawned after the navigation attempt from DOORS.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!