It can be frustrating when a script that has been running for a long time, perhaps for many hours, fails just before it finishes. This video shows a couple of techniques to address this issue: saving to a MAT-File and using right-click evaluate in the editor. This assumes that you have enabled dbstop if error before starting.
Play the video in full screen mode for a better viewing experience.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.