Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

fwrite_delimited (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: support

Requires: MathScript RT Module

Syntax

fwrite_delimited(file, m, d)

fwrite_delimited(file, m, d, row, col)

Legacy Name: dlmwrite

Description

Writes an ASCII delimited file.

Details

Examples

Inputs

Name Description
file Specifies the file you want to write to. file is a string.
m Specifies the matrix you want to write.
d Specifies the delimiter that separates the values in the file. For example, a value of \t specifies a single tab character as the delimiter. d is a string.
row, col Specify the location in the matrix at which you want to start writing. row and col are zero-based.

Details

If you use this function in a stand-alone application or shared library and file is a relative path, LabVIEW searches for the file in the path where you installed the application or shared library. If file is an absolute path, LabVIEW searches for the file on the local machine or target at the specified location. (Real-Time Module) If you deploy this function to an RT target and file is a relative path, LabVIEW searches for the file in the path returned by the Default Data Directory VI.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT No (affects entire script)

Examples

fwrite_delimited('test', magic(5), '/', 2, 2);
a = fread_delimited('test', '/', 'A2..C3')

Related Topics

fread_csv
fread_delimited
fwrite_csv


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit