Generated Code

The following is c code generated by the CellML API from this CellML file. (Back to language selection)

The raw code is available.

Model is unsuitably constrained (i.e. there were still some variables left to be computed, and some unusable equations left over).
At the time of the error, the following variables were found:
 * Undefined: v in component gating_Ikr
 * Undefined: alpha_act in component gating_Ikr
 * Undefined: beta_act in component gating_Ikr
 * Undefined: alpha_inact in component gating_Ikr
 * Undefined: beta_inact in component gating_Ikr
 * Undefined: Xr1_1 in component gating_Ikr
 * Undefined: Xr1_2 in component gating_Ikr
 * Undefined: Xr1_3 in component gating_Ikr
 * Undefined: Xr1_4 in component gating_Ikr
 * Undefined: Xr1_5 in component gating_Ikr
 * Undefined: Xr1_6 in component gating_Ikr
 * Undefined: Xr2_1 in component gating_Ikr
 * Undefined: Xr2_2 in component gating_Ikr
 * Undefined: Xr2_3 in component gating_Ikr
 * Undefined: Xr2_4 in component gating_Ikr
 * Undefined: Xr2_5 in component gating_Ikr
 * Undefined: Xr2_6 in component gating_Ikr
 * Undefined: Xr1_7 in component gating_Ikr
 * Undefined: Xr2_7 in component gating_Ikr
 * Undefined: x_inf_act in component gating_Ikr
 * Undefined: x_inf_inact in component gating_Ikr
 * Undefined: tau_kr_act in component gating_Ikr
 * Undefined: tau_kr_inact in component gating_Ikr
The following equations couldn't be used:
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.
 * Equation with no id on the apply or math element.