Matlab modifies my m-file timestamps?

1 次查看(过去 30 天)
The way I use often use Matlab is to have a script m-file open in emacs on a linux workstation, but run the script on a windows machine where Matlab is installed (file is on a network share). Clearly this is non-ideal, but I have to live with it.
Anyway, when I run my Matlab script, then want to make changes in emacs, I find that I get complaints about the file having been modified on disk. Matlab appears to modify the timestamp of the file when you run the script (and then resets it afterwards?). This isn't a problem except when you are making many changes to the script and running it often... but that's usually the case in my situation.
Any thoughts on how to get Matlab to stop doing this? Or ideas as to why I might be confused here?
Thanks!
  2 个评论
Walter Roberson
Walter Roberson 2012-10-24
Does this happen to exactly the files you put breakpoints in?
Daniel Shub
Daniel Shub 2012-10-25
I am willing to try and recreate this problem, but need more details/clarification. The file is stored on one machine, open for editing on a Linux machine, and running on a windows machine. How have you mounted the filesystem in Linux and Windows?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by