Command Line/History pane

When you use a menu command in Minitab, Minitab preserves session commands that record your actions. You can use these session commands to quickly repeat an analysis on a new set of data.

Each menu command has a corresponding session command. Session commands consist of a main command and, usually, one or more subcommands. Main commands and subcommands can be followed by a series of arguments, which can be columns, constants, matrices, text strings, or numbers. Minitab provides three ways to use session commands:
  • Type session commands into the Command Line pane.
  • Copy session commands from the History pane to the Command Line pane.
  • Copy and save session commands in an exec file.

When you show the Command Line/History pane, and then execute a command from a menu, the corresponding session commands are displayed in the History pane. This technique is a convenient way to learn session commands.

To run commands using the Command Line pane, complete the following steps.
  1. Choose View > Command Line/History. You can also press Ctrl + K.
  2. Click in the Command Line pane.
  3. Enter and edit the session commands.
  4. Click Run.
To run commands again, complete the following steps.
  1. In the History, select the commands and subcommands.
  2. Click Copy to Command Line
  3. From the Command Line pane, click Run.