Open Matlab File

This dialog is opened by selecting the Import -> Matlab... command from the File -> Import submenu and allows total control over the process of importing Matlab format files (*.mat).

The controls in the upper side of the dialog provide basic information about the file being imported: its location (displayed in the Path label) and its size (displayed in the corresponding Size label).

The dialog also displays the structure of the Matlab file in a tree widget allowing the selection of the variables to be imported. The import of a variable can be also enabled/disabled by right-clicking on the name of a variable and selecting the Import option from the pop-up menu. The All check box allows to quickly toggle/untoggle the import of all variables from the Matlab file.

A double-click on the name of a variable opens an information message box displaing the number of rows and columns in this variable toghether with its data type. The list of properties can also be displayed by right-clicking on the name of a variable and selecting the Properties option from the pop-up menu.

QtiPlot creates a new table for each variable imported from the Matlab file. By checking the New Folder box these tables are moved into a subfolder inside the current folder of your project. The name of the new subfolder is generated automatically based on the name of the Matlab file.

Figure 5-233. The Open Matlab File dialog box.

Figure 5-234. The Matlab variable properties dialog.