One of the many uses of variable highlighting in the MATLAB editor is to help with moving code around. When you select variables, it shows you where they are used in the rest of the code, and therefore where it is safe for you to move those lines to.
Features covered in this video include:
- Variable highlighting in the editor
- Code folding
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
Play the video in full screen mode for a better viewing experience.