Skip to contents

Adds the path of the shared library (.so file) to the ODE model.

Usage

so_path(o) <- value

Arguments

o

the ODE (list of named arrays and matrices), or CME model

value

the path to the compiled model

Value

modified o, with information about compiled code

Examples

m <- model_from_tsv(uqsa_example("AKAR4"))
o <- as_ode(m)
c_path(o) <- write_c_file(generate_code(o))
#> Error in write_c_file(generate_code(o)): could not find function "write_c_file"
so_path(o) <- shlib(o)
#> Error in shlib(o):  does not exist.
print(o)
#>                 Model name : AKAR4
#> 
#> 
#>  Number of state variables : 2
#>       Number of parameters : 5
#>          Number of outputs : 1
#>          Conservation laws : 2
#>            Transformations : no