Archive for the ‘Functions’ Category:
type
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
save
SAVE Save workspace variables to disk.
SAVE FILENAME saves all workspace variables to the binary “MAT-file”
named FILENAME.mat. The data may be retrieved with LOAD. If FILENAME
has no extension, .mat is assumed. Read More
quit
quit Quit MATLAB session.
quit terminates MATLAB after running the script FINISH.M,
if it exists. The workspace information will not be saved
unless FINISH.M calls SAVE. If an error occurs while
executing FINISH.M, quitting is cancelled. Read More
Path
path Get/set search path.
PATH, by itself, prettyprints MATLAB’s current search path. The
initial search path list is set by PATHDEF, and is perhaps
individualized by STARTUP. Read More
pack
pack Consolidate workspace memory.
pack performs memory garbage collection. Extended MATLAB sessions may cause memory to become fragmented, preventing
large variables from being stored. pack is a command that saves all variables on disk, clears the memory, and then
reloads the variables. Read More
open
OPEN Open files by extension.
open NAME where NAME must contain a string, does different things
depending on the type of the object named by that string: Read More