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: * Defined: s_i in component s_i * Undefined: S2 in component aug_E * Undefined: S4 in component aug_E * Defined: time in component aug_E * Defined: V in component V * Defined: C in component model_parameters * Defined: i_Na in component i_Na * Defined: i_K in component i_K * Defined: i_Ca in component i_Ca * Defined: i_KCa in component i_KCa * Defined: i_L in component i_L * Defined: i_synE in component i_synE * Undefined: i_synI in component i_synI * Defined: g_Na in component model_parameters * Defined: E_Na in component model_parameters * Defined: m in component i_Na_m_gate * Defined: h in component i_Na_h_gate * Defined: g_K in component model_parameters * Defined: E_K in component model_parameters * Defined: m in component i_K_m_gate * Defined: a in component i_K_m_gate * Defined: b in component i_K_m_gate * Defined: g_Ca in component model_parameters * Defined: E_Ca in component model_parameters * Defined: m in component i_Ca_m_gate * Defined: h in component i_Ca_h_gate * Defined: g_KCa in component model_parameters * Defined: Ca in component Ca * Defined: m in component i_KCa_m_gate * Defined: kappa in component i_KCa_m_gate * Defined: g_L in component model_parameters * Defined: E_L in component model_parameters * Defined: g_synE in component model_parameters * Defined: E_synE in component model_parameters * Undefined: g_synI in component model_parameters * Defined: E_synI in component model_parameters * Defined: tau_I in component s_i * Undefined: d/dt V in component V * Defined: d/dt m in component i_Na_m_gate * Defined: d/dt h in component i_Na_h_gate * Defined: d/dt m in component i_K_m_gate * Defined: d/dt m in component i_Ca_m_gate * Defined: d/dt h in component i_Ca_h_gate * Defined: d/dt m in component i_KCa_m_gate * Defined: d/dt Ca in component Ca * Defined: d/dt s_i in component s_i 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.