I am trying to develop a gui for my simple code which is a enzyme substrate reaction system. The enzyme substrate kinetics is defined in terms of odes which are solved using ode15s. I would like to develop a simple gui code which will use my code and plot one of the state variable which the user selects on the gui.
Putting it simple: I would like to develop a gui for the following code. In the GUI the user will select a state variable (C/P/X) to be plotted.
I want to learn how to integrate ode15s in gui.
T = [0 10];
y0 = [1 0 .0001];
umax = 5;
Y = .3;
Ks = 2;
[t,y] = ode15s(@system,T,y0,,umax,Y,Ks);
function dydt = system(t,y,umax,Y,Ks)
C = -umax*(y(1)/Ks+y(1))*y(3);
P = (1-Y)*umax*(y(1)/Ks+y(1))*y(3);
X = umax*Y*(y(1)/Ks+y(1))*y(3);
dydt = [C; P; X];