필터 지우기
필터 지우기

Matlab modifies my m-file timestamps?

조회 수: 2 (최근 30일)
Scott Webster
Scott Webster 2012년 10월 24일
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