| Spreadsheet Link™ EX | ![]() |
| On this page… |
|---|
Configuring Version 2003 and Earlier Versions of the Microsoft® Excel® Software |
Enable the Spreadsheet Link™ EX add-in.
Click Tools > Add-Ins. The Add-Ins dialog box appears.
Click Browse.
Click OK.
In the Add-Ins dialog box, the Spreadsheet Link EX 3.0.1 for use with MATLAB check box is now selected.
Click OK to exit the Add-Ins dialog box.
The Spreadsheet Link EX add-in loads now and with each subsequent Excel® software session.
The MATLAB Command Window button appears on the Microsoft® Windows® taskbar.
![]()
The Spreadsheet Link EX toolbar appears on your Excel worksheet.

The Spreadsheet Link EX software is now ready for use.
Click My Computer > Properties. The System Properties pane appears.
Click the Advanced tab.
Click Environment Variables.
Under System variables, double-click the PATH variable. The Edit System Variable window appears.
Add matlabroot\bin\win32 to the Variable value field.
Click OK on all dialog boxes until you exit System Properties.
Right-click the MATLAB shortcut icon and choose Properties from its context menu. The Properties pane appears.
In the Target field, enter /regserver.
Click Apply.
Start a Microsoft Excel software session.
Enable the Spreadsheet Link EX add-in.
Click
, the Microsoft Office Button.
Click Excel Options. The Excel Options dialog box appears.
Click Add-Ins.
From the Manage selection list, choose Excel Add-Ins.
Click Go. The Add-Ins dialog box appears.
Click Browse.
Select matlabroot/toolbox/exlink/excllink.xla.
Click Open.
In the Add-Ins dialog box, the Spreadsheet Link EX 3.0.1 for use with MATLAB check box is now selected.

Click OK to close the Add-Ins dialog box.
Click OK to close the Excel Options dialog box.
The Spreadsheet Link EX add-in loads now and with each subsequent Excel software session.
The MATLAB Command Window button appears on the Microsoft Windows taskbar.
![]()
The Spreadsheet Link EX toolbar appears on your Excel worksheet.

The Spreadsheet Link EX software is now ready for use.
Use the Preferences dialog box to set Spreadsheet Link EX preferences. Click the preferences button in the Excel toolbar to open this dialog box.

Preferences include:
Start MATLAB when Excel starts (enabled by default) starts a MATLAB software session automatically when an Excel software session starts.
MATLAB current working directory enables you to specify the current working directory for your MATLAB software session at startup.
Use MATLAB desktop starts the MATLAB desktop, including the current directory, workspace, command history, and Command Window panes, when an Excel software session starts.
Force use of MATLAB cell arrays with MLPutMatrix enables the MLPutMatrix function to use cell arrays for data transfer between the Excel software and the MATLAB workspace.
Treat missing/empty cells as NaN sets data in missing or empty cells to NaN or zero.
![]() | Installing the Spreadsheet Link™ EX Software | Starting and Stopping the Spreadsheet Link™ EX Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |