find_netlogo_console() attempts to locate the NetLogo executable file on
the user's system.
It first checks the NETLOGO_CONSOLE environment variable. If this variable
is not set or the file does not exist, it constructs the path to the
executable based on the provided netlogo_home directory.
Usage
find_netlogo_console(netlogo_home = find_netlogo_home())Arguments
- netlogo_home
(optional) A
characterstring specifying the path to the NetLogo installation directory. If not provided, the function will try to find it automatically usingfind_netlogo_home()(default:find_netlogo_home()).
Value
A character string specifying the path to the
NetLogo executable file. If the file cannot be found, an empty string is
returned.
See also
Other utility functions:
find_netlogo_home(),
find_netlogo_version(),
inspect_experiment_file(),
parse_netlogo_list()