From: "Steven_Lord" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab runtime error!
Date: Wed, 29 Sep 2010 12:40:59 -0400
Organization: MathWorks
Lines: 34
Message-ID: <i7vq6r$6h9$>
References: <i7vpoh$7m7$>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
X-Trace: 1285778459 6697 (29 Sep 2010 16:40:59 GMT)
NNTP-Posting-Date: Wed, 29 Sep 2010 16:40:59 +0000 (UTC)
In-Reply-To: <i7vpoh$7m7$>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: comp.soft-sys.matlab:674323

"Ender " <> wrote in message 
> Could someone tell me what this error means and how do I fix it?
> I am running a Matlab program with 3  .m files. I am using the ode45 
> solver twice in the program. The second time I use the ode45 solver, the 
> solver runs then I get an error that says
> Fatal internal error. [c0000094]
> Runtime Error!
> R6025
> -pure virtual function call
> Then MATLAb shuts down.
> How do I fix this error and finish the program run.

If the function that you're passing into ODE45 invokes one or more MEX-files 
as part of its evaluation, you need to debug why the MEX-file is trying to 
invoke a pure virtual function.

If it does not, then please send everything (data files, program files, 
etc.) including the exact call to ODE45 that you make to Technical Support 
so they can investigate the cause of this problem.

Steve Lord
comp.soft-sys.matlab (CSSM) FAQ:
To contact Technical Support use the Contact Us link on