Description Usage Arguments Value Author(s) See Also Examples
NLLoadModel
loads a model (*.nlogo file) into the submitted NetLogo instance.
1 | NLLoadModel(model.path, nl.obj=NULL)
|
model.path |
A string containing either the absolute path to the model file (*.nlogo file) or a relative path to the model file starting from the NetLogo installation directory specified in |
nl.obj |
(optional) A string identifying a reference to a NetLogo instance created with |
No return value.
Jan C. Thiele <rnetlogo@gmx.de>
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
nl.path <- "C:/Program Files/NetLogo 6.0/app"
NLStart(nl.path)
model.path <- "/models/Sample Models/Earth Science/Fire.nlogo"
absolute.model.path <- paste(nl.path,model.path,sep="")
NLLoadModel(absolute.model.path)
relative.model.path <- "models/Sample Models/Earth Science/Fire.nlogo"
NLLoadModel(relative.model.path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.