| Excel Link | ![]() |
This chapter provides detailed descriptions of all Excel Link functions. It first groups the functions by task, then alphabetically.
Link Management Functions
matlabinitInitialize Excel Link and start MATLAB process.
MLAutoStartAutomatically start MATLAB process.
MLCloseTerminate MATLAB process.
MLOpenStart MATLAB process.
You can invoke any link management function except matlabinit as a worksheet cell formula or in a macro. You invoke matlabinit from the Excel Tools Macro menu or in a macro subroutine.
Data Management Functions
matlabfcnEvaluate MATLAB command given Excel data.
matlabsubEvaluate MATLAB command given Excel data and designate output location.
MLAppendMatrixCreate or append MATLAB matrix with data from Excel worksheet.
MLDeleteMatrixDelete MATLAB matrix.
MLEvalStringEvaluate command in MATLAB.
MLGetMatrixWrite contents of MATLAB matrix in Excel worksheet.
MLGetVarWrite contents of MATLAB matrix in Excel VBA variable.
MLPutMatrixCreate or overwrite MATLAB matrix with data from Excel worksheet.
MLPutVarCreate or overwrite MATLAB matrix with data from Excel VBA variable.
You can invoke any data management function except MLGetVar and MLPutVar as a worksheet cell formula or in a macro. You can invoke MLGetVar and MLPutVar only in a macro.
| Example 5: Bond Cash Flow and Time Mapping | Functions - Alphabetical List | ![]() |