When you select a line / multiple lines of code in Matlab, you can press F9 to execute it / them.
Is there a shortcut to execute the current line of code? This would enable you to go down line per line with your arrow down key and execute the corresponding line with this shortcut.