MDX File Format

Note:

You can convert most MDX and similar data files to datasets (see Importing Datasets). Project datasets are stored with the project, eliminating an external file reference. Project datasets used in designs represented by hierarchical components are saved to the library with the component and restored when you use the component (see Exporting Hierarchical Components).

The .mdx file format is a Twin Builder internal data format used to exchange data between the different programs. Create and edit the files with a text editor. The semicolon at the end of each dataset is essential, including the last one.

Data files in .mdx format are structured in a table-like fashion. The datasets are interpreted as a sequence of k-dimensional value tuples (ai,bi,ci,….) with a record length n (that is, data field/table of k columns multiplied by n rows). The correlated values of a k-tuple are arranged successively in the dataset:

(a1,b1,…,z1, a2,b2,…,z2, … ,an,bn,…,zn)

\________/ \_______/ … \_______/

1st k-tuple 2nd k-tuple nth k-tuple

In a typical case (time functions, characteristics) the first value in the n-tuple (ai) represents the common abscissa (“x”, time “t”…) where the datasets are in ascending order of ai ("x", "t", …).

Each file starts with header information for the data sets. The header always terminates with the “END:=” statement. All data within a line is separated by a semicolon; a line must be closed by a semicolon and CR/LF.

The specifications Nxx and Uxx for names and units of data channels are optional and can be omitted.

Data Set Parameters

The required parameters are (in this order):



The optional parameters (in arbitrary sequence and selection) are:



Data Set Format

.mdx Files used for Components using 2D Characteristics

.mdx Files used for Fourier Sources

.mdx Files used for 3D Lookup Tables

.mdx Files used for DES Models