Error Savinf m files. 'Error writing example.m The file on disk might be empty or incomplete ...'
4 次查看(过去 30 天)
显示 更早的评论
Let say I am working example.m script. Since couple of months I am having problems with saving scripts. When I press save example.m I am getting following error message: ‘Error writing example.m The file on disk might be empty or incomplete. Ensure there is sufficient free space on the drive, and then save the file again. Do not reload the file before you successfully save it.’ Then I press yes and get this message: ‘ This file has been modified outside of the MATLAB Editor. Do you want to reload it?’
This message shows almost every time I try to save modified script or function. Often, it actually don’t save changes, I have to close it and open again. It appears less often, when my script is on the same folder as my data, but I can’t do it because I am using the same programs for different data sets. Also, I am working on the server, not my local drive and I’ve already transferred entire folder with my programs to the server, but it helped only for short time.
Thank you for the help
3 个评论
Gim Gleen
2019-10-12
@topolowa
This problem bothered me for a long time. I checked all the answers online and your answer is the only effective one. Thank you so much!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!