Skip to main content
Logo image

Section 1.3 Command Window (\(\texttt{cwd}\))

Software applications require a way for users to interact with them. This interaction occurs through a User Interface (UI), typically a command-line or graphical interface.
Command Line Interface (CLI)
Users type commands at a prompt to control the application. MATLAB calls this the Command Window.
Graphical User Interface (GUI)
Users interact through visual elements such as buttons, menus, and windows.
Let’s practice using MATLAB’s (\(\texttt{cwd}\)) with some simple examples.
MATLAB is unusual in that it provides a CLI (\(\texttt{cwd}\)) directly inside its GUI. This embedded CLI is called the Command Window. You type commands at the >> prompt and press Enter.