So today I discovered two tricks for debugging in MATLAB which I’m sure will help me immensely. First, I discovered that my breakpoints were disappearing every time I start a script because the command clear all actually clears all breakpoints. I tend to start scripts with the line
1 |
close all; clear all; clc; |
in order to get a fresh workspace, […]