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: T in component gate_initials
 * Undefined: V_b in component gate_initials
 * Undefined: X_s in component gate_steady
 * Undefined: X_s in component gate_steady
 * Undefined: X_s in component gate_steady
 * Undefined: alpha in component alpha_m
 * Undefined: beta in component beta_m
 * Undefined: alpha in component alpha_n
 * Undefined: beta in component beta_n
 * Undefined: alpha in component alpha_h
 * Undefined: beta in component beta_h
 * Undefined: phi in component temperature_factor
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 in apply element with id alpha_m_calculation.
 * Equation in apply element with id beta_m_calculation.
 * Equation in apply element with id alpha_h_calculation.
 * Equation in apply element with id beta_h_calculation.
 * Equation in apply element with id alpha_n_calculation.
 * Equation in apply element with id beta_n_calculation.
 * Equation with no id on the apply or math element.