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

5 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Vishal Neelagiri
Vishal Neelagiri am 16 Jan. 2017
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 Kommentare
Walter Roberson
Walter Roberson am 11 Aug. 2017
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 am 7 Jul. 2020
I just encountered the same problem as Walter's.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by