type

August 13th, 2009 No Comments   Posted in Functions

type List M-file.
type foo.bar lists the ascii file called ‘foo.bar’.
type foo lists the ascii file called ‘foo.m’. Read More

edit

March 6th, 2008 No Comments   Posted in Functions

edit Edit M-file.
edit FUN opens the file FUN.M in a text editor.  FUN must be the
name of an m-file or a MATLABPATH relative partial pathname (see
PARTIALPATH). Read More

clear

March 6th, 2008 No Comments   Posted in Functions

and from memory.
clear removes all variables from the workspace.
clear VARIABLES does the same thing.
clear GLOBAL removes all global variables.
clear FUNCTIONS removes all compiled M- and MEX-functions.

clear ALL removes all variables, globals, functions and MEX links.
clear ALL at the command prompt also removes the Java packages
import list. More »