Environment and system
Interpreter and session control — tic/toc, clc, exit, input, and friends.
What’s covered here
Section titled “What’s covered here”| Function | What it does |
|---|---|
cd | Change the current working directory. |
clc | Clear the command-window display. |
clear | Remove items from the workspace. |
copyfile | Copy a file to a new location. |
delete | Delete files (or graph objects). |
dir | List files in a directory. |
enable | Enable or disable a named interpreter feature. |
exist | Check whether a name exists in the workspace, on disk, or as a built-in. |
exit | Exit the MathJet interpreter / application. |
home | Move the cursor to the top of the command window. |
i | Imaginary unit (alias for 1i); also available as I, j, J. |
intmax | Maximum value of an integer type. |
intmin | Minimum value of an integer type. |
j | Imaginary unit, engineering notation; aliases i, I, J. |
lf | Insert a line feed (newline) in command-window output. |
mkdir | Create a directory. |
movefile | Move (rename) a file or directory. |
pause | Pause execution for a duration or until a key is pressed. |
pi | Mathematical constant π. |
pwd | Print the current working directory. |
rmdir | Remove a directory. |
run | Execute a script file by path. |
sdvt | Set or display the default value type (precision). |
sizemax | Maximum array size supported by MathJet. |
tabulate | Tabular display of variable info. |
type | Numeric code identifying the type of a value. |
who | List names of variables in the workspace. |
whos | List variables in the workspace with detailed info. |