Main Content


Initialize Spreadsheet Link and start MATLAB




matlabinit Initializes the Spreadsheet Link™ software and starts MATLAB® process. If the Spreadsheet Link software has been initialized and the MATLAB software is running, subsequent invocations do nothing. Use matlabinit to start Spreadsheet Link and MATLAB sessions manually when you have set MLAutoStart to no. If you set MLAutoStart to yes, matlabinit executes automatically.


  • To run matlabinit from the Microsoft® Excel® toolbar, click Tools > Macro. In the Macro Name/Reference box, enter matlabinit and click Run. Alternatively, you can include this function in a macro subroutine. You cannot run the matlabinit function as a worksheet cell formula or in a macro function.

Introduced before R2006a