matlabinit
Initialize Spreadsheet Link and start MATLAB
Syntax
Description
matlabinit initializes the Spreadsheet Link™ software and starts MATLAB®. If the Spreadsheet Link software has been initialized and MATLAB is running, subsequent invocations do nothing. Use
matlabinit to start Spreadsheet Link and MATLAB sessions manually when you have set the
MLAutoStart preference to no. If you set
MLAutoStart to yes, the
matlabinit function executes automatically.
Examples
Tips
You can include the
matlabinitfunction in a macro subroutine.You cannot run the
matlabinitfunction as a worksheet cell formula or in a macro function.matlabinitis a macro subroutine. Subroutines cannot run as functions in a worksheet cell. Only Excel functions can be run in a worksheet cell.
Alternative Functionality
You can execute MLOpen to start MATLAB.
Version History
Introduced before R2006a
See Also
Topics
- Set Spreadsheet Link Preferences
- Create Diagonal Matrix Using Microsoft Excel Ribbon
- Create Diagonal Matrix Using Microsoft Excel Context Menu
- Create Diagonal Matrix Using Worksheet Cells
- Create Diagonal Matrix Using VBA Macro
- Find and Execute MATLAB Function Using MATLAB Function Wizard
- Execute Spreadsheet Link Functions