ENgetcontrol | R Documentation |
Retrieve the parameters of a simple control statement.
ENgetcontrol(controlindex)
controlindex |
An integer specifying the control statement index. |
list of parameters of the control statement: ctype, lindex, setting, nindex, level
Controls are indexed starting from 1 in the order in which they were entered into the
[CONTROLS]
section of the EPANET input file.
ENsetcontrol
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENgetcontrol(1)
ENclose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.