External Interfaces/API    
actxserver

Create an ActiveX automation server and return an activex object for the server's default interface.

Syntax

Arguments
progid
   This is a string that is the name of the control to instantiate. This string is provided by the control or server vendor and should be obtained from the vendor's documentation. For example, the progid for Microsoft Excel is Excel.Application.

MachineName
   This is the name of a remote machine on which the server is to be run. This argument is optional and is used only in environments that support Distributed Component Object Model (DCOM) -- see below. This can be an IP address or a DNS name.

Returns

An activex object that represents the server's default interface. Use the get, set, invoke, release, and delete methods on this object. A MATLAB error will be generated if this call fails.

Description

Create an ActiveX automation server and return a MATLAB activex object that represents the server's default interface. Local/Remote servers differ from controls in that they are run in a separate address space (and possibly on a separate machine) and are not part of the MATLAB process. Additionally, any user interface that they display will be in a separate window and will not be attached to the MATLAB process. Examples of local servers are Microsoft Excel and Microsoft Word. Note that automation servers do not use callbacks or event handlers.

Example


 actxcontrol delete