MATLAB: Do I receive a “Failed to connect with MATLAB” error when navigating from requirement links in Microsoft Word using Simulink Verification and Validation 1.1.1 (R14SP3)

linkrmiSimulink CheckSimulink Requirements

When double-clicking an ActiveX control inside my Microsoft Word requirements document to navigate to a Simulink model, I receive the following error:
Failed to connect with MATLAB:
Make sure MATLAB is running as an automation server. If MATLAB is running, type the following command: feature('AutomationServer',1)
However, I am able to navigate successfully from Simulink to the requirements document.

Best Answer

This error may result from having more than one version of MATLAB installed on your system. To resolve this issue, close MATLAB and perform the following steps:
1. Open a DOS command prompt and enter the following command:
path
In the path listing, note the presence of multiple "MATLABxx\bin\win32" directories.
2. For each of the MATLAB directories listed in your path, go to the "win32" subdirectory and enter the following command at the DOS prompt:
matlab /unregserver
Close the small MATLAB command window that subsequently appears in the corner of your screen each time you issue the preceding command.
3. In the "win32" subdirectory of the MATLAB version that you primarily use, enter the following command at the DOS prompt:
matlab /regserver
Afterward, close the small MATLAB command window that appears.
4. Start the MATLAB version that you primarily use.
5. At the MATLAB prompt, enter the following command:
feature('AutomationServer',1)
Now you will be able to navigate successfully from a requirements document to Simulink.