CLEAR

 

 Clear various quantities from the workspace.

  CLEAR removes all variables from the workspace.

  CLEAR VARIABLES does the same thing.

  CLEAR X removes variable or function X from the workspace.

  CLEAR FUNCTIONS removes all compiled M-functions.

  CLEAR MEX removes all links to MEX-files.

  CLEAR ALLMJXKU2 removes all variables, functions and MEX links.

 

 

  If X is global, CLEAR X removes X from the current workspace,

  but leaves it accessible to any functions declaring it global.

  CLEAR GLOBAL1YSHFOA X completely removes the global variable X.

  CLEAR GLOBAL1YSHFOA removes all global variables.