FUNCTION REFERENCE

setenv

Set an environment variable for this engine.

Set an environment variable for this engine.

Syntax

setenv(name, value)

Syntax

setenv(name)

One argument, or an empty value, sets the variable to empty. At most 1024 overrides and 1 MiB of names and values are retained.

Example

setenv('MATRUST_HELP_ENV', 'abc'); getenv('MATRUST_HELP_ENV')   % abc

Differences from MATLAB: Changes are local to the engine and its clones; other engines and the host process environment are unchanged.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.