Data: Import from File: Minitab (MTW, MPJ)
If you do not see this file type, choose Data: Import from File: Add/Remove File Types...
![]() | To add drag & drop support for a file type, see Import Filter Manager. |
Import Minitab (MTW) or project (MPJ) files prior to Minitab 13
1. impMNTB;
2. impMNTB fname:="horse.mtw";
3. impMNTB fname:="testp.mpj";
4. impMNTB fname:=" horse.mtw" orng:=Col(1);
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
File Name | fname |
Input string |
|
The file(s) to be imported. Click the browse button beside the list box to open one or more files. Then the file names will be listed in the box. |
File Info | trFiles |
Input TreeNode |
|
This is used in the dialog for displaying the basic information of the file. Only the size of the data file will be displayed.
|
Import Options | options |
Input TreeNode |
|
This is the TreeNode for the import filter, which is hidden from the GUI. Users are not advised to use this variable.
|
Output | orng |
Output Range |
|
The range for where the data should be imported into. See the syntax here. |
Header Info | finfo |
Output TreeNode |
|
This is for outputting the header information, which is hidden from the GUI. Users are not advised to use this variable.
|
This X-Function is capable of importing Minitab file (MTW) or project (MPJ). It supports the version prior to Minitab 13.
Details on Some Dialog Options
impMNTB -d
. This will open the Open File dialog for you to choose the import file.
#:fname$="c:\Sample.MTW"; #:impMNTB;
#:cd C:\MinitabData; #:findFiles ext:="*.MTW"; #:impMNTB;