The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
As part of an iteration program, Odesolve in a solve-block fails when one or more of the (positive) initial conditions is too large. Of course, a priori, I do not know how large is "too large." This failure causes the program to cease functioning, but the failure is itself information that needs to be returned to the program so that it continues to run. How can I guard against this failure? Any help will be much appreciated.
Solved! Go to Solution.
See attached for a possible approach. I'm sure there's a less clumsy method, but I'm having an off day!
Alan
Might be possible using 'on error'. Difficult to tell without seing the actual calculation. Upload the worksheet.
Alan
Alan,
Thank you for your reply. A watered-down worksheet is attached.
See attached for a possible approach. I'm sure there's a less clumsy method, but I'm having an off day!
Alan
Thank you! I will give it a go.