MATLAB Function Reference: Commands by Subject function MATLAB Function Reference General Purpose Commands Managing Commands and Functions addpath Add directories to MATLAB's search path doc Display HTML documentation in Web browser help Online help for MATLAB functions and M-files lasterr Last error message lastwarn Last warning 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 mlock Prevent M-file clearing munlock Allow M-file clearing 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 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 matlabroot Root directory of MATLAB installation tempdir Return the name of the system's temporary directory mkdir Make 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