Main Content

MATLAB Functions in Microsoft Excel

Execute MATLAB® functions using data in Microsoft® Excel® and display results in spreadsheets

After you have data in a Microsoft Excel spreadsheet, you can execute MATLAB functions using various methods. For example, you can use the Microsoft Excel ribbon, context menu, worksheet cells, or VBA macros. To find MATLAB functions in a visual way, use the MATLAB Function Wizard. For differences among these methods, see Execute Spreadsheet Link Functions.

Functions

matlabfcnEvaluate MATLAB command given Microsoft Excel data
matlabsubEvaluate MATLAB command given Microsoft Excel data and designate output location
MLEvalStringEvaluate MATLAB command in MATLAB
MLShowMatlabErrorsReturn standard Spreadsheet Link errors or full MATLAB errors

Topics

Execute MATLAB Functions in Microsoft Excel

Execute MATLAB Functions Using Real Data

Execute MATLAB Functions Using MATLAB Function Wizard