Main Content
MLGetVar
Write contents of MATLAB matrix in Microsoft Excel VBA variable
Description
MLGetVar
writes the contents of MATLAB® matrix ML_var_name
, VBA_var_name
ML_var_name
in the Excel®
Visual Basic® for Applications (VBA) variable VBA_var_name
. The
MLGetVar
function creates VBA_var_name
if it does not exist. The function replaces existing data in
VBA_var_name
.
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 before R2006a