.dat 文件,使用 Matlab 创建时未打开
我正在 Matlab 中创建一个包含标题和数据的 .dat 文件,但是当我尝试从保存该文件的文件夹中打开它时,我收到错误消息 “文件正在被另一个应用程序使用,无法访问”< /代码>。即使 Matlab 关闭,也会出现此错误。我只能通过 Matlab 的当前目录窗口右键单击该文件来将其作为文本打开。为什么会发生这种情况以及如何解决?
I am creating a .dat file with headers and data in Matlab, however when I try opening it from the folder where it is saved then I get the error that says 'file in use by another application and cannot be accessed'
. This error occurs even when Matlab is closed. I can only open it as a text by right clicking on the file through the Matlab's current directory window. Why is this happening and how to resolve it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试:
关闭所有打开的文件。
You could try:
to close all open files.
这是不应该发生的,事实上,当我在我的机器(OS X,R2010a)上尝试你的代码时,也不会发生这种情况。换句话说,我强烈怀疑Matlab代码有什么问题。
尝试重新启动 Windows,然后新创建的、名称不同的文件的问题就会消失。
This is not supposed to happen, and, in fact, doesn't happen when I try your code on my machine (OS X, R2010a). In other words, I strongly doubt that there is any problem with the Matlab code.
Try restarting Windows, then the problem should go away for newly created, differently named files.