Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: dy/dt value from ode45 solver
Date: Tue, 18 Aug 2009 21:00:41 -0400
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <h6firi$red$1@fred.mathworks.com>
References: <h6f14q$7a7$1@fred.mathworks.com> <h6f5pa$hct$1@fred.mathworks.com> <h6fikv$egv$1@fred.mathworks.com>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1250643634 28109 172.31.44.65 (19 Aug 2009 01:00:34 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Aug 2009 01:00:34 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:564335



"Md. Shahriar Karim" <karim.shahriar@gmail.com> wrote in message 
news:h6fikv$egv$1@fred.mathworks.com...
> Hi Steve,
>
> DEVAL asks for a structure input. I also replaced
>
> [t, y]=ode45('steadystate', [0:0.1:10000], y0); part of my code  by
> sol=ode45('steadystate', [0:0.1:10000], y0);

Try replacing the string input with a function handle to your function and 
use the second of those syntaxes..

-- 
Steve Lord
slord@mathworks.com