Add information about compiled code
so_path-set.RdAdds the path of the shared library (.so file) to the ODE model.
Usage
so_path(o) <- valueArguments
- o
the ODE (list of named arrays and matrices), or CME model
- value
the path to the compiled model
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