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

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

pathremove(dir1)

pathremove(dir1, dir2, ...)

p = pathremove(dir1)

p = pathremove(dir1, dir2, ...)

Legacy Name: rmpath

Description

Removes directories from the search path list.

Details

Examples

Inputs

Name Description
dir1 Specifies a directory you want to remove. dir1 is a string.
dir2 Specifies a directory you want to remove. dir2 is a string.

Outputs

Name Description
p Returns the list of all current search paths.

Details

Changes you make to the search path list using this function apply only to the current instance of the LabVIEW MathScript Window or the MathScript Node from which you call the function. Changes to the search path list for one MathScript Node do not apply to any other MathScript Nodes. LabVIEW resets the search path list to the default when you close the LabVIEW MathScript Window or when the MathScript Node stops executing. Use the MathScript: Search Paths page of the LabVIEW MathScript Properties dialog box to change the default search path list for the LabVIEW MathScript Window. Use the MathScript page of the Options dialog box to change the default search path list for MathScript Nodes in the main application instance.

The following table lists the support characteristics of this function.

Causes reduced performance (warning glyph) Yes (if you supply input)
Supported in the LabVIEW Run-Time Engine No
Supported on RT targets No

Examples

pathremove('C:\Program Files\National Instruments')

Related Topics

addpath
path
pathdefault


 

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