|
Does anyone know how to detect what the filename of the m-file that
currently has focus in the editor? (It's not mfilename - that's only
the name of the currently RUNNING file.) What I would like to do is
to have a shortcut button on my toolbar that changes to the folder
containing this m-file when I click on that shortcut button. I think
this would be easier than to find the folder in the history drop down
list of 20 different Current Folders, and way easier than having to
browse to the folder via the "..." button. I could be wrong, but I
bet it's not a standard thing and it will probably have to be a Yair
Altman undocumented hack (http://undocumentedmatlab.com/#)
Currently, if I have 10 different m-files open in the editor and I
click on one, then I need to do the extra step of changing the current
folder to the folder containing that file. I'd like to simplify that
step.
|