MATLAB Function Reference Previous page   Next Page

Workspace, Search Path, and File Operations

Workspace

assignin Assign value to variable in specified workspace
clear Remove items from workspace, freeing up system memory
evalin Execute MATLAB expression in specified workspace
exist Check if variables or functions are defined
openvar Open workspace variable in Array Editor for graphical editing
pack Consolidate workspace memory
uiimport Open Import Wizard interface to import data
which Locate functions and files
who, whos List variables in workspace
workspace Display Workspace browser, a tool for managing workspace

Search Path

addpath Add directories to MATLAB search path
genpath Generate path string
partialpath Partial pathname description
path View or change MATLAB directory search path
path2rc Replaced by savepath
pathdef List of directories in MATLAB search path
pathsep Return path separator for current platform
pathtool Open Set Path dialog box to view and change MATLAB path
restoredefaultpath Restore default MATLAB search path
rmpath Remove directories from MATLAB search path
savepath Save current MATLAB search path to pathdef.m file

File Operations

cd Change working directory
copyfile Copy file or directory
delete Delete files or graphics objects
dir Display directory listing
exist Check if variables or functions are defined
fileattrib Set or get attributes of file or directory
filebrowser Display Current Directory browser, a tool for viewing files
isdir Determine if input is directory
lookfor Search for keyword in all help entries
ls Display directory contents on UNIX system
matlabroot Return root directory of MATLAB installation
mkdir Make new directory
movefile Move file or directory
pwd Identify current directory
recycle Set option to move deleted files to recycle folder
rehash Refresh function and file system path caches
rmdir Remove directory
type Display contents of file
web Open Web site or file in Web browser or Help browser
what List MATLAB files in current directory
which Locate functions and files

See also File I/O functions.


Previous page  Help for Using MATLAB Programming Tools Next page

© 1994-2005 The MathWorks, Inc.