Gets the current path. By default, the current working directory and the script sub-directory of the installation directory are in the path. Typically the path is important for setting the location of your script files.
Syntax |
Description |
---|---|
out = getpath; |
Returns the current path as a string. Use ?getpath; to print it to the screen. |
Examples
Gets the current path.
?getpath; ./
C:/Program Files/Lumerical/2020a/scripts
See Also