An exec file is a text file that contains a series of Minitab commands. To repeat an analysis without using the Minitab menus or session commands, save the commands as an exec file and then run the file. The easiest way to create an exec file is to save command language from the History pane in the Minitab desktop app.
You can create an exec file in a text editor such as Microsoft® Notepad. Exec files have the .MTB file extension.
To run an exec multiple times for simulations or looping operations, use in the Minitab desktop app.
To run an exec in the Minitab web app:
A macro is a text file that contains a series of Minitab session commands. You can use macros to automate a repetitive task (for example, generating a monthly report) or to extend Minitab's functionality (for example, computing a special test statistic).
Minitab Macros have the .MAC file extension.
For more information about Minitab macros, go to the Macro Library.
The following features are not supported in Minitab on the web at this time: multiple macros (macros that call other macros), opening data files within a macro, and writing to a storage file.
To run a Minitab macro in the Minitab web app:
C1 C2
STMN C4;
STSD C5.