setenv()
Sets the value of a named configuration variable. If the name of the configuration file is given, then the configuration variable values are obtained from the named environment file. If the name of the configuration variable is not specified, an application-specific default is used.
Returns: none.
See also: expandenv().
Syntax:
setenv(name, value[, conf, dir, savetodisk]);
where
name is the name of configuration variable.
value is a new value of variable.
conf is optional. Name of configuration file to use.
dir is optional. Integer value that specifies the directory where setenv preferences are saved, where
- ASTR_ENV_SAVE_CWD = current working directory
- ASTR_ENV_SAVE_HOME = home directory
- ASTR_ENV_SAVE_SYS = installation directory
savetodisk is optional. Integer value that controls whether the configuration is written to disk or not, where
- 0 = Do not write to disk
- 1 = Write to disk
Example:
setenv("LAYERS_PATH", "my_layers");
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Where Used:
Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()