External Interfaces Reference |
Enable DDE or Automation server
Syntax
Description
enableservice('service',status)
enables the specified service, where service
can be one of the following:
DDEServer
-- enable the MATLAB DDE server.
AutomationServer
-- converts an existing MATLAB session into an Automation server.
Note that you cannot disable either service once it is disabled. Therefore, the only allowed value for status
is true
.
Remarks
You can use the outgoing MATLAB DDE commands (ddeinit
, ddeterm
, ddeexec
, ddereq
, ddeadv
, ddeunadv
, ddepoke
) without starting the DDE server.
Examples
Enable the Automation server in the current MATLAB session:
COM Server Functions | Execute |
© 1994-2005 The MathWorks, Inc.