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

delete (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the support class.

Syntax

delete(filename)

Description

Deletes a file.

Examples

Inputs

Name Description
filename Specifies the path to the file you want to delete. If filename is a relative path, LabVIEW begins searching for the file in the current working directory. filename can include the wildcards ? and *. filename is a string.

Examples

fid = fopen('filename.txt', 'a');
fclose(fid);
delete('filename.txt')

Related Topics

fclose
fopen


Resources


 

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