enableservice
Enable, disable, or report status of MATLAB Automation server
Description
enableservice('AutomationServer',
enables or disables the MATLAB® Automation server. If enable
)enable
is true
(logical 1
), enableservice
converts an existing
MATLAB session into an Automation server. If enable
is
false
(logical 0
),
enableservice
disables the MATLAB Automation server.
This function is equivalent to calling this MATLAB startup command at the Windows operating system prompt:
matlab -automation
COM functions are available on Microsoft® Windows® systems only.
state = enableservice('AutomationServer')
returns the current state
of the Automation server. If state
is logical 1
(true
), MATLAB is an Automation server.
Examples
Input Arguments
Version History
Introduced before R2006a