??? Error using ==> print at 310 Cannot create output file


1、You most probably don't have write permissions to create file in current directory. If you are working under Windows 7, it is possible that your working directory is somewhere under Program Files or at a drive root. Check it with pwd command.(修改保存路径为当前运行路径,一般就可以解决问题)

2、Check also if you can save and other file, like MATLAB m-file. You should have the same problem if it's a permission issue.(权限问题,是否可以保存文件)

3、Another possible cause is that you already created a file under the same name and have it opened by another program.(这个一般不会发生,有同名文件的时候也可能不能保存成功!)。


发布了13 篇原创文章 · 获赞 46 · 访问量 30万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章