External Interfaces Previous page   Next Page

Step 5 -- (Windows Only) Register MATLAB As a COM Server

To run this program on Windows, you need to have MATLAB registered as a COM server on your system. This registration is part of the MATLAB installation process and should have already been done for you as part of the install. If, for some reason, the registration was not done or did not complete successfully, you may see the following error displayed when you try to run this example:

If you see this error, you will need to register MATLAB as a server manually by entering the following commands in a DOS command window:

In the first line, replace the term $MATLAB with a string defining the MATLAB root directory. MATLAB returns this string when you enter the command matlabroot at the MATLAB command prompt.


Previous page  Step 4 -- Set Run-time Library Path Step 6 -- Test Out the Program Next page

© 1994-2005 The MathWorks, Inc.