getenv

Gets the value of the environment variable x, defined for the current session of the application.

Syntax

R = getenv(x)

Inputs

x
Name of environment variable.
Type: string

Outputs

R
Type: string

Example

setenv('x', 'This is an example')
R = getenv('x')
R = This is an example