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
matlab startup command. From the operating
system prompt, type:
Alternatively, you can add this switch every time you run MATLAB, as follows:
Right-click the MATLAB shortcut icon
matlab.exeopens to the Shortcut tab.
In the Target field,
-automation to the end of the target path
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
When the operating system automatically creates a MATLAB server,
it too uses the
-automation switch. In this way, MATLAB servers
are differentiated from other MATLAB sessions. This protects
controllers from interfering with any interactive MATLAB sessions
that might be running.