Get the number of states in the ODE from the code code C++ code for model
get_ode_model_size(code)
code
Number of states in the ODE model
Useful links