Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Cory
Posts:
33
Registered:
10/4/11
|
|
Re: Stop fsolve; keep result
Posted:
Nov 20, 2012 2:22 PM
|
|
Thanks for the update. I figured it might not be possible, but wanted to check if there was some hope. It is, indeed, frustrating (official MATLAB people take note).
Cory
Alan_Weiss <aweiss@mathworks.com> wrote in message <k8gjkj$fsd$1@newscl01ah.mathworks.com>... > On 11/20/2012 12:21 PM, Cory wrote: > > Hi MATLABers, > > > > I'm running fsolve on a big problem with mixed results. After a week > > or so of computation, I'd like to interrupt the code and just report > > whatever results I have so far. However, I'm not sure how to stop > > fsolve while maintaining access to the last point tried (e.g. by using > > Ctrl+C). Is there a way to do this? > > > > Thanks, > > Cory > > I am very sorry to say that I know of no way to do this. I know, it is > frustrating. > > Next time, you can prepare for this before you call fsolve: > * Have an output function checkpoint your intermediate results to a > file, or to the workspace > * Use a plot function to show some results, such as the current point > (@optimplotx) > > Good luck, > > Alan Weiss > MATLAB mathematical toolbox documentation
|
|
|
|