getnewenv

Get new environment, which is a workspace where the simulator will read/write the signals.

Syntax

env = getnewenv

env = getnewenv()

Outputs

env
New environment.
Type: integer
Dimension: scalar

Example

Get new environment and assign it to a variable.

env = getnewenv;
env = -387