variable_domain

functions

SYNTAX

variable_domain(&variable, lower_limit, upper_limit)

DESCRIPTION

Define the domain limits for any variable for which one can take its address. At this time only field editors check the variable domain. If one attempts to enter a value into a field editor which is not in the domain, the value will be set to the upper or lower limit. Important NEURON variables such as dt, L, diam, and Ra have reasonable default domains. Many parameters defined in model description files also have reasonable domains.

This function is most useful when a variable makes sense only as a nonzero or positive number.

One can specify different domains only on a per name basis. Thus there is only one domain specification for L and one for all the instances of IClamp.amp but one can have a different specification for IClamp.amp and VClamp.amp .


chdir

functions

SYNTAX

chdir("path")

DESCRIPTION

Change working directory to the indicated path. Returns 0 if successful otherwise -1, ie the usual unix os shell return style.


neuron/general/function/0fun.hel : Apr 21 16:52