FUNCTION REFERENCE
getenv
Read an environment variable.
Read an environment variable.
Syntax
value = getenv(name)An unset variable returns an empty character array. Reads engine overrides first, then the inherited host environment.
Example
setenv('MATRUST_HELP_ENV', 'abc'); getenv('MATRUST_HELP_ENV') % abcDifferences from MATLAB: setenv changes are local to an engine; they do not modify the host process environment.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.