cloneenv

Clone an existing environment, which is a workspace where the simulator will read/write the signals..

Syntax

envc = cloneenv(env)

Inputs

env
Environment that will be cloned.
Type: integer
Dimension: scalar

Outputs

envc
Cloned environment.
Type: integer
Dimension: scalar

Example

Clone an existing environment

envc = cloneenv(0);
envc = -388