>I found that MATLAB, in particular, lends itself to spaghettification.
How did you guess? ;)
I've been gently pointing people towards python for this exact reason. The younger generations need little convincing, but the old dogs would rather write the same shitty code.