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: Na_int in component NaK
 * Undefined: Na_ext in component NaK
 * Undefined: K_int in component NaK
 * Undefined: K_ext in component NaK
 * Undefined: NH4_ext in component NaK
 * Undefined: K_Na in component NaK
 * Undefined: K_K in component NaK
 * Undefined: K_NH4 in component NaK
 * Defined: J_NaK_Na_Max in component NaK
 * Undefined: J_NaK_Na in component NaK
 * Undefined: J_NaK_K in component NaK
 * Undefined: J_NaK_NH4 in component NaK
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.