Use the Table (
) node to export the contents of a table to file. A table export stores the data from any of the tables in the model, including any evaluation group tables, as a text file. To export a table, right-click a
Table node under
Tables (
) and select
Add Table to Export, or right-click the
Export node and select
Mesh.
Click the Export button (
) in the
Settings window or right-click the node and select
Export. The
Messages window confirms where the files are exported as specified in the
Output section.
First select a source for the table from the Source list: Table (the default) or
Evaluation group. Then select a table or evaluation group from the list below. The
Table or
Evaluation group list contains the all tables or evaluation group tables in the model. By default, the selection of a table is the one from which you have selected
Add Table to Export or the first available table or evaluation group table if you have added the
Table node directly under
Export. Select
None to not export any table data.
Enter a Filename including a path to save the table data as a file to your computer or click
Browse and navigate to where you want to
Save the output and specify the file type as a text file (*.txt), CSV file (*.csv), data file (*.dat), or, if the license includes LiveLink™
for Excel®, Microsoft Excel workbook (*.xlsx) from the
Save as type list. When you save the table data as a Microsoft Excel workbook, you can also specify a
Sheet and
Range (by default, those text fields are empty; the program then saves all data), and by default the
Overwrite check box is selected.
Select the Always ask for filename check box if you want the program to always display a dialog box for specifying where to store the table data.
The Include header and
Full precision check boxes are selected by default. Click to clear the check box if you do not want to include a header, or to limit the precision in the output to six significant figures (and which provides an output that contains all significant figures for data stored as double-precision numbers).
From the If the file exists list, select
Overwrite (the default) to replace the data in the file with the data you export, or choose
Append to append the data to the end of the file. Appending data can be useful when exporting data for a parametric sweep, for example.