MATLAB Function Reference
Commands by Subject
  Go to function:
    Search    Help Desk 

General Purpose Commands


Managing Commands and Functions

addpath Add directories to MATLAB's search path
doc Display HTML documentation in Web browser
docopt Display location of help file directory for UNIX platforms
help Online help for MATLAB functions and M-files
helpdesk Display Help Desk page in Web browser, giving access to extensive help
helpwin Display Help Window, providing access to help for all commands
lasterr Last error message
lastwarn Last warning message
lookfor Keyword search through all help entries
partialpath Partial pathname
path Control MATLAB's directory search path
pathtool Start Path Browser, a GUI for viewing and modifying MATLAB's path
profile Start the M-file profiler, a utility for debugging and optimizing code
profreport Generate a profile report
rmpath Remove directories from MATLAB's search path
type List file
ver Display version information for MATLAB, Simulink, and toolboxes
version MATLAB version number
web Point Web browser at file or Web site
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
mlock Prevent M-file clearing
munlock Allow M-file clearing
openvar Open workspace variable in Array Editor, for graphical editing
pack Consolidate workspace memory
save Save workspace variables on disk
saveas Save figure or model using specified format
size Array dimensions
who, whos List directory of variables in memory
workspace Display the Workspace Browser, a GUI for managing the workspace

Controlling the Command Window

clc Clear command window
echo Echo M-files during execution
format Control the output display format
home Send the cursor home
more Control paged output for the command window

Working with Files and the Operating Environment

cd Change working directory
copyfile Copy file
delete Delete files and graphics objects
diary Save session in a disk file
dir Directory listing
edit Edit an M-file
fileparts Filename parts
fullfile Build full filename from parts
inmem Functions in memory
ls List directory on UNIX
matlabroot Root directory of MATLAB installation
mkdir Make directory
open Open files based on extension
pwd Display current directory
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



[ Help Desk ]