CSVWriter

Parent Previous Next

File IO / CSVWriter
Block Name: CSVWriter

Code File Location: VisualSim\actor\lib\conversions\Composite_to_CSV

Description

CSVWriter takes an incoming data structure or array of data structures and converts it into a CSV format. The field names are the titles of each column.  The values of the fields are placed in the respective column to match the heading. For the arrays, each index of the array becomes a separate row and the values of the data structures in the index become the column value.  

The structure of all incoming data must be identical.  

CSVWriter demo model


Parameter

Explanation

Type

File_Name

The format is either http://www.mirabilisdesign.com/filename.txt (URL, file located anywhere on the Internet) or file://C:/VisualSim/filename.txt (Windows) or file://VisualSim/filename.txt (Unix/Linux).
The filename can be a concatenation of any number of individual strings and parameters, separated by "+".  This can be used to name the output files differently for each simulation run during batch mode operation.

String



Port

Explanation

Type

composite_input

Input accepts a data structure or array of data structures.

General






 

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites