Generated Code

The following is matlab 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_Ito
 * Undefined: alpha_act in component gating_Ito
 * Undefined: beta_act in component gating_Ito
 * Undefined: alpha_inact in component gating_Ito
 * Undefined: beta_inact in component gating_Ito
 * Undefined: r_1 in component gating_Ito
 * Undefined: r_2 in component gating_Ito
 * Undefined: r_3 in component gating_Ito
 * Undefined: r_4 in component gating_Ito
 * Undefined: r_5 in component gating_Ito
 * Undefined: r_6 in component gating_Ito
 * Undefined: s_1 in component gating_Ito
 * Undefined: s_2 in component gating_Ito
 * Undefined: s_3 in component gating_Ito
 * Undefined: s_4 in component gating_Ito
 * Undefined: s_5 in component gating_Ito
 * Undefined: s_6 in component gating_Ito
 * Undefined: tau_r_const in component gating_Ito
 * Undefined: tau_s_const in component gating_Ito
 * Undefined: x_to_inf_act in component gating_Ito
 * Undefined: x_to_inf_inact in component gating_Ito
 * Undefined: tau_to_act in component gating_Ito
 * Undefined: tau_to_inact in component gating_Ito
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.