getcurrentenv
Get current environment, which is a workspace where the simulator will read/write the signals.
Syntax
env = getcurrentenv
env = getcurrentenv()
Outputs
- env
 - Current environment.
 
Example
Get current environment and assign it to a variable.
env = getcurrentenv;
	  env = 0