userpath
Displays or modify default user functions directory.
πŸ“Syntax
p = userpath()
userpath(dirname)
userpath('reset')
userpath('clear')
πŸ“₯Input Arguments
Parameter Description
dirname an existing directory name
'clear' removes the first directory for current and next sessions of Nelson.
'reset' resets the first directory to the default for your platform.
πŸ“€Output Arguments
Parameter Description
p string: the specified user path
πŸ“„Description

userpath modifies or displays user’s load path.

By default, userpath directory is platform-dependant:

Windows platforms: %USERPROFILE%/Documents/Nelson

Others platforms: $home/Documents/Nelson

It is possible to force userpath by define an environment variable: NELSON_USERPATH with an existing path.

πŸ’‘Examples
path
userpath
πŸ”—See Also
pathaddpathrehash
πŸ•”Version History
Version Description
1.0.0 initial version
Edit this page on GitHub