Main Content
MLShowMatlabErrors
Return standard Spreadsheet Link errors or full MATLAB errors
Description
= MLShowMatlabErrors(
sets
the error message type when executing MATLAB® commands using flag
)MLEvalString
in Microsoft®
Excel®. An
error displays when MLEvalString
fails. You can
display two different types of error messages. At any point, you can
switch between displaying Spreadsheet Link™ and MATLAB errors.
Without this function, worksheet cells display only Excel error
messages. Use this syntax when working in a worksheet cell.
Examples
Input Arguments
Tips
To work with VBA code in Excel with Spreadsheet Link, you must enable Spreadsheet Link as a reference in the Microsoft Visual Basic® Editor. For details, see Installation.
Version History
Introduced in R2006b