MATLAB Functions
Commands by Subject
Help Desk

General Purpose Commands


Managing Commands and Functions
addpath Add directories to MATLAB's search path
doc Load hypertext documentation
help Online help for MATLAB functions and M-files
lasterr Last error message
lookfor Keyword search through all help entries
path Control MATLAB's directory search path
profile Measure and display M-file execution profiles
rmpath Remove directories from MATLAB's search path
type List file
version MATLAB version number
what Directory listing of M-files, MAT-files, and MEX-files
whatsnew Display README files for MATLAB and toolboxes
which Locate functions and files

Managing Variables and the Workspace
clear Remove items from memory
disp Display text or array
length Length of vector
load Retrieve variables from disk
pack Consolidate workspace memory
save Save workspace variables on disk
size Array dimensions
who, whos List directory of variables in memory

Controlling the Command Window
echo Echo M-files during execution
format Control the output display format
more Control paged output for the command window

Working with Files and the Operating Environment
applescript Load a compiled AppleScript from a file and execute it
cd Change working directory
delete Delete files and graphics objects
diary Save session in a disk file
dir Directory listing
edit Edit an M-file
fullfile Build full filename from parts
inmem Functions in memory
matlabroot Root directory of MATLAB installation
tempdir Return the name of the system's temporary directory
tempname Unique name for temporary file
! Execute operating system command

Starting and Quitting MATLAB
matlabrc MATLAB startup M-file
quit Terminate MATLAB
startup MATLAB startup M-file