cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Odesolve question

peterusher
1-Visitor

Odesolve question

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.

ACCEPTED SOLUTION

Accepted Solutions

See attached for a possible approach. I'm sure there's a less clumsy method, but I'm having an off day!

Alan

View solution in original post

4 REPLIES 4

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.

Announcements

Top Tags