Popup message when running script "modified outside the editor, reload file?"

조회 수: 5 (최근 30일)
Regularly when running scripts a message pops up stating "... modified outside the editor, reload file?" The file can be reloaded and the script runs but the file was NOT purposely modified prior to receiving the message. This happens most often when accessing files located on the file server.
Any idea how to stop whatever is causing this message?
Thanks,
Leonard

채택된 답변

Vishal Neelagiri
Vishal Neelagiri 2017년 1월 16일
I understand that sometimes when you run a script, a message pops up that it has been modified outside the editor. As you mentioned that this happens when you are accessing files located on the server, it is possible that someone else who has access to this script had the file open at the same time. This might have caused the message to pop up.
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 8월 11일
Amy Van Wey Lovatt comments to Vishal Neelagiri :
I too have been having these issues with Matlab. Frequently, when I edit and compile a file in Matlab I first get the err message that "file disk may be empty or incomplete" (although I have over 32 Gigs free space on my network drive), followed by the error message "The file has been modified outside of MATLAB Editor. Do you want to reload it?" Unfortunately, this also occurs when I move everything to my hard drive. This is a real pain, and I've been waiting for months for answers from Matlab. The accepted answer by Vishal Neelagiri (staff) on 16 Jan 2017 https://au.mathworks.com/matlabcentral/answers/320346-popup-message-when-running-script-modified-outside-the-editor-reload-file?s_tid=answers_rc1-2_p2_MLT posited that others may be accessing the script. However, no one has access to my m files except me. This is a private license. The accepted answer by Vishal Neelagiri (staff) on 16 Jan 2017 https://au.mathworks.com/matlabcentral/answers/320346-popup-message-when-running-script-modified-outside-the-editor-reload-file?s_tid=answers_rc1-2_p2_MLT posited that others may be accessing the script. However, no one has access to my m files except me. This is a private license. This answer does not make sense either to me unless the Matlab has changed so much that I can no longer run multiple simulations of the same code simultaneously? Or is there an issue with Matlab interacting with Windows 10? In previous version not running on Windows 10, when I compiled or saved a file I did not receive these error messages. My only work around has been to reset the path every time I modify a file. However, this is unacceptable. I'm about to chuck in Matlab (between this and the persistent issues with the built in ode solvers) and use either Julia or Python.
Yovan Ho
Yovan Ho 2020년 7월 7일
I just encountered the same problem as Walter's.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by