I realized today that the process I go through to write a new piece of code isn’t always ideal. Today I needed to get a fast version of Dijkstra’s algorithm working in Matlab. I had already written a native Matlab version which was taking a very long time to run on a very large, but […]
Posts involving the MATLAB programming language.
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
close all; clear all; clc;
in order to get a fresh workspace, […]