Excel Link    
MLDeleteMatrix

Delete MATLAB matrix

Syntax

Worksheet:
MLDeleteMatrix(var_name)
Macro:
MLDeleteMatrix var_name
var_name
Name of MATLAB matrix to delete. "var_name" (in quotes) directly specifies the matrix name. var_name (without quotes) is an indirect reference: the function evaluates the contents of var_name to determine the matrix name, and var_name must be a worksheet cell address or range name.

Description

Deletes the named matrix from the MATLAB workspace.

Example

deletes matrix A from the MATLAB workspace.


  MLClose MLEvalString