I want to change the title of the the command window in matlab to state the current branch I am working on. I know where to find the current branch name. I need that every time this file is changed to note on a new branch, the title of the command window will be updated with the new branch name.
Any thoughts?