Matlab modifies my m-file timestamps?

2 views (last 30 days)
Scott Webster
Scott Webster on 24 Oct 2012
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 Comments
Walter Roberson
Walter Roberson on 24 Oct 2012
Does this happen to exactly the files you put breakpoints in?
Daniel Shub
Daniel Shub on 25 Oct 2012
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?

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!