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

fileinfo (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

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

Legacy Name: fileparts

Description

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

Examples

Inputs

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

Outputs

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.

Details

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

Examples

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

Related Topics

str_to_path


 

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