simInitControl
simInitControl( ) => t / nil
Description
Checks whether a file called control exists in the simulation run directory.
The following checks are done:
-
If the simControlFile variable is
nil, it locates the files specified by the simDefaultControl variable in thelocal/sidirectory. -
If not found, it locates the files in the
etc/sidirectory using theprependInstallPathfunction and sets simControlFile to the resulting full pathname. -
Next, the function copies the file specified by the simControlFile variable to the run directory and names it
control.
The function is defined in /etc/skill/si/caplib/init.ile. You can modify this function.
Arguments
Value Returned
Examples
simInitControl()
Related Topics
Return to top