Path: news.mathworks.com!not-for-mail
From: "Alexander " <karahead@web.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Derivative input at time xxx is Inf or Nan
Date: Sat, 14 Feb 2009 21:38:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <gn7djp$d36$1@fred.mathworks.com>
References: <gjqskq$57r$1@fred.mathworks.com>
Reply-To: "Alexander " <karahead@web.de>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1234647481 13414 172.30.248.35 (14 Feb 2009 21:38:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 14 Feb 2009 21:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1324335
Xref: news.mathworks.com comp.soft-sys.matlab:518292

"venkata ragavan " <meetragavan@gmail.com> wrote in message <gjqskq$57r$1@fred.mathworks.com>...
> Hi,
> 
> I get the following error while i try to run my simulation.
> I have also tried using a memory block in the feedback line as suggested in few threads but it did not change the result. Pls do drop in your suggestions.
> 
> ??? Derivative input 1 of 'LinearModel/Plant/Electrical/Integrator1' at time 0.002875 is Inf or
> NaN.  Stopping simulation.  There may be a singularity in the solution.  If not, try reducing the
> step size (either by reducing the fixed step size or by tightening the error tolerances).
> 
> Thank you,
> Venkat

I've had the same error and didn't realise that the output was just to big so the Inf error was thrown. For example set the simulation time to 0.0028 and see if the output isn't to big.

-alex