Matlab保存扩展名为m〜的文件副本.他们做什么?我可以关闭它们吗? [英] Matlab saves copies of files with extension m~. What do they do & can I turn them off?

查看:171
本文介绍了Matlab保存扩展名为m〜的文件副本.他们做什么?我可以关闭它们吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Matlab始终将扩展名为m〜的m文件的副本保存在同一目录中.这很烦人,因为我总是单击它们并必须将其关闭.我猜这是一些安全功能或某些缓存,但是无论如何都应该将它们关闭,以使它们至少不会出现在Matlab文件浏览器框中或充当隐藏文件之类的东西?

Matlab keeps saving a copy of my m-files with the extension m~ in the same directory. This is pretty annoying since I always click on them and have to close them down. I am guessing it is some safety feature or some caching but is there anyway to turn them of so that they at least don't show up in the Matlab file browser box or act as hidden files or something?

推荐答案

这些是自动保存的文件.您可以在File-> Preferences-> Editor/Debugger-> Autosave中修改自动保存.

These are autosave files. You can modify autosaving in File->Preferences->Editor/Debugger->Autosave.

我不会关闭此功能(以前非常方便),但是我同意在工作目录中包含许多.m〜文件很烦人.我通常将其设置为将扩展名更改为.asv,并将所有自动保存都保存在一个自动保存目录中.

I wouldn't turn off the feature (it has come in very handy before), but I agree that having lots of .m~ files in the working directory is annoying. I usually set this to changing the extension to .asv, and to saving all autosaves in a single autosave directory.

这篇关于Matlab保存扩展名为m〜的文件副本.他们做什么?我可以关闭它们吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆