External Interfaces Previous page   Next Page

Registering Controls and Servers

Most controls and servers are registered by default. However, if you get a new .ocx, .dll, or other object file for the control or server, you must register the file manually.

Use the DOS regsvr32 command to register your object file (e.g., ocx file), in the Windows registry. From the DOS prompt, use the cd function to go to the directory where the ocx file is located and use the syntax

For example, to register the mwsamp2.ocx file used in many of the MATLAB documentation examples, type

If you encounter problems with this procedure, please consult a Windows manual or contact your local system administrator.

Verifying the Registration

Here are several ways to verify that a control or server is registered (using the MATLAB mwsamp control as an example):


Previous page  Supported Client/Server Configurations MATLAB COM Client Support Next page

© 1994-2005 The MathWorks, Inc.