I'm trying Matlab for the first time. Since I prefer Emacs-like editors, I've been using an external editor on .m files. I was trying to find the source of odd bugs in my code, when in fact, Matlab was caching older versions of .m files. Finally exited Matlab and it loaded the correct files on restart. I should have realized sooner what was going on. Matlab is evidently not detecting that the files have changed, even though I can double click them in Matlab's "Current folder" window and see all the updates.
This then appears to be caused by an internal caching mechanism. Is there any way to tell Matlab to load the externally edited file?
PS: The word "Matlab" is flagged by Mathworks' spell checker? :-)