This error message indicates that the COM AutomationServer in MATLAB is not running. When you restart MATLAB, the COM AutomationServer is NOT running by default. This is expected behavior.
The COM AutomationServer is automatically started after performing model/DOORS synchronization, that is why it works until MATLAB is restarted.
Rather than resynchronizing, you can use the following MATLAB function to start the COM AutomationServer:
>> enableservice('AutomationServer', true)
For more information on the ENABLESERVICE function, please see the following link:
You might want to consider adding the ENABLESERVICE function to a custom MATLAB startup file, such that it is automatically called every time MATLAB is started. For more information on the MATLAB startup file, please see the following link:
Best Answer