From: "Alexander " <>
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$>
References: <gjqskq$57r$>
Reply-To: "Alexander " <>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1234647481 13414 (14 Feb 2009 21:38:01 GMT)
NNTP-Posting-Date: Sat, 14 Feb 2009 21:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1324335
Xref: comp.soft-sys.matlab:518292

"venkata ragavan " <> wrote in message <gjqskq$57r$>...
> 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.