Data Errors

Matrix Data Errors

Data in the MATLAB or Microsoft Excel workspaces may produce the following errors.

Data Errors

Data Error

Cause

Solution

MATLAB matrix cells contain zeros (0).

Corresponding Excel worksheet cells are empty.

Excel worksheet cells must contain only numeric or string data.

MATLAB matrix is a 1-by-1 zero matrix.

You used quotation marks around the data-location argument in MLPutMatrix or MLAppendMatrix.

Correct the syntax to remove quotation marks.

MATLAB matrix is empty ([ ]).

You referenced a nonexistent VBA variable in MLPutVar.

Correct the macro; you may have typed the variable name incorrectly.

VBA matrix is empty.

You referenced a nonexistent MATLAB variable in MLGetVar.

Correct the macro; you may have typed the variable name incorrectly.

Errors When Opening Saved Worksheets

This section describes errors that you may encounter when opening saved worksheets.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS