程序执行异常结束后用fopen打开的文件无法在matlab外进行操作的解决办法

在命令行窗口输入:

fclose('all')

原文地址:https://www.cnblogs.com/yibeimingyue/p/12795504.html