Path: news.mathworks.com!not-for-mail
From: "Steven_Lord" <slord@mathworks.com>
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$1@fred.mathworks.com>
References: <i7vpoh$7m7$1@fred.mathworks.com>
NNTP-Posting-Host: ah-slord0w.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="UTF-8";
	reply-type=response
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1285778459 6697 172.31.44.22 (29 Sep 2010 16:40:59 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 29 Sep 2010 16:40:59 +0000 (UTC)
In-Reply-To: <i7vpoh$7m7$1@fred.mathworks.com>
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: news.mathworks.com comp.soft-sys.matlab:674323



"Ender " <jr147@msstate.edu> wrote in message 
news:i7vpoh$7m7$1@fred.mathworks.com...
> 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
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com