I have a habit of beginning all my MATLAB scripts with clear all; close all; clc. While it has been a very useful line, as soon as it executes, it wipes out all my breakpoints. Is there a simple way to avoid that?
I have a habit of beginning all my MATLAB scripts with clear all; close
Share
I have solved this issue by creating a script that saves and reloads breakpoints. For convenience, you can even put it into a shortcut.