Documentation Center

  • Trial Software
  • Product Updates

Manually Create Automation Server

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 prior to starting any of the client processes.

To manually create a MATLAB® server, use the /Automation switch in the MATLAB startup command. You can do this from the DOS command line by typing:

matlab /Automation

Alternatively, you can add this switch every time you run MATLAB, as follows:

  1. 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.

  2. 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\R2006a\bin\win32\MATLAB.exe /Automation"

    Note:   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 may be running.

Was this topic helpful?