function JP = JP_D(v,m17,h17,s17,m18,h18,n,nKA,hKA,V12,I,gNa17,gNa18,gK,gKA,g)
%JP_D
% JP = JP_D(V,M17,H17,S17,M18,H18,N,NKA,HKA,V12,I,GNA17,GNA18,GK,GKA,G)
% This function was generated by the Symbolic Math Toolbox version 8.2.
% 24-Jul-2019 18:34:57
t2 = m17.^2;
t3 = v-4.473333333335177e-1;
t4 = v+5.646666666671081e-1;
t5 = V12.*5.988023952090771e-2;
t6 = v.*8.982035928143887;
t7 = t5+t6+4.353293413179927;
t8 = exp(t7);
t9 = v.*-1.241721854303614e1;
t10 = t9+4.139072847683565e-1;
t11 = exp(t10);
t12 = t11+1.0;
t13 = 1.0./t12;
t14 = t8+1.0;
t15 = 1.0./t14;
t16 = t15.*3.519999999995343e1;
t17 = t13.*1.55e1;
t18 = t16+t17;
t19 = 1.0./t18;
t20 = 1.0./t14.^2;
JP = reshape([0.0,t8.*t20.*(m17.*3.0e1-t13.*t19.*4.65e2).*2.107784431136679+t8.*t13.*t19.*t20.*9.801197604797781e2,0.0,0.0,0.0,0.0,0.0,0.0,0.0,9.919454033251895e-3,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,h17.*m17.*s17.*t2.*t3.*-3.225806451612152e1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,h18.*m18.*t3.*-3.225806451612152e1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,n.*t4.*-3.225806451612152e1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,hKA.*nKA.*t4.*-3.225806451612152e1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[9,6]);