Excel Link    

Connecting to an Existing MATLAB Session

To connect a new Excel session to an existing MATLAB process, you must start MATLAB with the /automation command line option. The /automation option starts MATLAB as an automation server. The command window is minimized, and the MATLAB desktop is not running.

To add the /automation option to the command line:

  1. Right-click on your shortcut to MATLAB.
  2. Select Properties.
  3. Click on the Shortcut tab.
  4. Add the string /automation in the Target field. Remember to leave a space between matlab.exe and /automation.

  Starting Excel Link Stopping Excel Link