Microsoft® Windows® operating system automatically creates an Automation server when a controller application first establishes a server connection. Alternatively, you can manually create the server before starting any of the client processes.
To create a MATLAB® server manually, use the -automation
switch
in the matlab
startup command. From the operating
system prompt, type:
matlab -automation
Alternatively, you can add this switch every time you run MATLAB, as follows:
Right-click the MATLAB shortcut icon
and select Properties from
the context menu. The Properties dialog box for matlab.exe
opens
to the Shortcut tab.
In the Target field,
add -automation
to the end of the target path
for matlab.exe
. Be sure to include a space between
the file name and the symbol -
. For example:
"C:\Program Files\MATLAB\R2016a\bin\win64\MATLAB.exe -automation"
Note:
When the operating system automatically creates a MATLAB server,
it too uses the |