Skip to contents

Lock/unlocking of rxode2 dll file

Usage

rxLock(obj)

rxUnlock(obj)

Arguments

obj

A rxode2 family of objects

Value

nothing; called for side effects

Examples

# \donttest{
f <- function() {
  ini({
    ka <- 0.5; cl <- 1; v <- 10
  })
  model({
    d/dt(depot) <- -ka * depot
    d/dt(central) <- ka * depot - cl / v * central
    cp <- central / v
  })
}
m <- f()$simulationModel
#>  
#>  
rxLock(m)
#> NULL
rxUnlock(m)
#> NULL
# }