虽然报了一大堆java的错 但是第一行末尾有写 存储被拒绝
sudo chmod -R a+rw ~/.matlab
来自 http://blog.csdn.net/eularisu/article/details/71082375