MLDeleteMatrix - Delete MATLAB® matrix

Syntax

Worksheet:

MLDeleteMatrix(var_name)

Macro:

MLDeleteMatrix var_name

var_name

Name of MATLAB matrix to delete. "var_name" (in quotation marks) directly specifies the matrix name. var_name (without quotation marks) 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

Delete matrix A from the MATLAB workspace:

MLDeleteMatrix("A") 
  


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