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

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

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

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.

Examples

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

Related Topics

fullfile


Resources


 

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