| MATLAB Environment | Search  Help Desk |
Disk File Manipulation and Shell Escape
Disk File Manipulation
Usedir, type, delete, and cd, a set of generic operating system commands, to manipulate files. This table indicates how these commands map to other operating systems.| MATLAB Commands |
Windows |
UNIX |
|
dir |
ls |
|
type |
cat |
|
del or erase |
rm |
|
chdir |
cd |
Running External Programs
The exclamation point character! is a shell escape and indicates that the rest of the input line is a command to the operating system. Use this to invoke utilities or run other programs without quitting from MATLAB. After you quit the program, the operating system returns control to MATLAB.
Type help unix or help dos for information about running external programs that return results and status.