Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

type (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: support

Requires: MathScript RT Module

Syntax

type(f)

Description

Displays the contents of the ASCII file specified by f in the Output Window.

Details

Examples

Inputs

Name Description
f Specifies the ASCII file whose contents you want to display. If you do not specify the path of f, LabVIEW searches in the current path.

Details

You can call the type function in the LabVIEW MathScript Window but not in the MathScript Node.

Examples

t = 0:0.1:pi;
x = sin(t);
fid = fopen('test.dat', 'w');
c = fprintf(fid, '%f\n', x);
fclose(fid);
type('test.dat')

Related Topics

fclose
fopen
fprintf


 

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