Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

MATLAB automatically generates backup files. For example, if I have a file called "simulation.m", after some editing MATLAB automatically generates a file called "simulation.m~" in the same folder. While it is a nice feature, I don't want to see them in the "Current Folder" pane. Is there a way to hide them? Thanks!

Not sure if relevant, I am using R2010b in a Mac.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

File -> Preferences... -> Current Directory -> Show filter Field. Then you can enter *.m in the new field that showed up on the top of the "Currecnt Directory" pane.


The Current Directory browser includes new ways to navigate and to view the directory contents. There are also new ways to find files, including a new filter field.

  • List only files whose names contain a specified string by using the new filter field. To show the filter field, use File > Preferences > Current Directory.

See also:

share|improve this answer
Thanks for the suggestion but I don't have a "Current Directory" pane inside Preferences... There is one for "Current Folder" but it doesn't have a "Show Filter Field". What version/OS do you have? – ceiling cat Nov 10 '11 at 16:40
See links. The feature was added on R2008b. – cyborg Nov 10 '11 at 19:13
I guess there's no way to hide the .m~ files then. "Group by"->"Type" is close enough... thanks! – ceiling cat Nov 10 '11 at 20:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.