you can as well follow Walters solution. Its fine as it compares the instability condition in while loop itself. If you don't see the message ,Enter the desired time step again then it implies solution is automatically stable.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
2 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/663433-help-with-while-loop#comment_1162133
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/663433-help-with-while-loop#comment_1162133
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/663433-help-with-while-loop#comment_1179313
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/663433-help-with-while-loop#comment_1179313
Sign in to comment.