I am sovling a system of 6 ODE functions, using ODE45 solver for RK4 method, i did as follows:
- i defined my function of ODEs in one file describing set of ODEs
- in another file i try to call this ODEs and solve it by ode45, here i inserted also model constants. initial values. etc.
but in matlab in command line of the ode45 sovler it keep returns error, though there were no any other error notification in other line.
3. Then i tryed to write both m files scripts into one m file conclude two function loops.
the result is same . always showing me error in ODE45 commend line in matlab, i need helpful resources. please have a look on my matlab scripts i uploaded. Thanks.
Best Answer