MLAppendMatrix
Create or append MATLAB matrix with data from Microsoft Excel worksheet
Syntax
Description
Examples
Input Arguments
Output Arguments
Tips
MLAppendMatrixchecks the dimensions ofvar_nameandmdatto determine how to appendmdattovar_name. If the dimensions allow appendingmdatas either new rows or new columns, it appendsmdattovar_nameas new rows. If the dimensions do not match, the function returns an error.If
mdatis not initially an Excel®Rangedata type and you call the function from a worksheet,MLAppendMatrixperforms the necessary type coercion.If
mdatis not an ExcelRangedata type and you call the function from within a Microsoft® Visual Basic® macro, the call fails. The error messageByRef Argument Type Mismatchappears.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