使用matlab打开txt文件时打开文件句柄忘记关闭,运行之后出现错误:
Caught "std::exception" Exception message is:
Message Catalog MATLAB:services was not loaded from the file. Please check file location, format or contents
发现matlab默认路径并没有被更改
并且从网上搜不到解决方案
网上说是文件句柄没有关闭
将文件中有关文件打开的语句注释之后,在matlab command中输入fclose all
后再次运行,成功
————————————————
原文链接:https://blog.youkuaiyun.com/miaomiaocsdn/article/details/78699947