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

fileinfo (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: support

Requires: MathScript RT Module


[c, d, e, f] = fileinfo(a)

Legacy Name: fileparts


Returns the path, name, extension, and version of a given file.



Name Description
a Specifies a filename. a is a string.


Name Description
c Returns the path of a. c is a string.
d Returns the name of a. d is a string.
e Returns the extension of a. e is a string.
f Returns the version of a. f is a string.


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 Not characterized


[C, D, E, F] = fileinfo('C:\pathname\filename.extension')

Related Topics



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