I installed matlab on my linux machine but on a media drive /media/d/usr/local/MATLAB/R2014b but when I open Matlab I get the below error, so if anyone could please advise how to solve this:

我在我的linux机器上安装了matlab,但是在媒体驱动/媒体/d/usr/local/ matlab /R2014b上,但是当我打开matlab时,我得到了下面的错误,所以如果有人能建议我如何解决这个问题:

An error was encountered while saving the command history
java.io.FileNotFoundException: /home/userA/.matlab/R2014b/History.xml (Permission denied)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(Unknown Source)
    at com.mathworks.mde.cmdhist.AltHistoryCollection$CommandSaver.run(AltHistoryCollection.java:1212)
    at java.lang.Thread.run(Unknown Source)

1 个解决方案

#1


2

I had to change permissions of the directory ~/.matlab so that I can write into it. I used the following command in terminal and the problem was resolved:

我必须更改目录~/的权限。用matlab写一下。我在终端使用了以下命令,问题解决了:

sudo chmod -R 777 .matlab

更多相关文章

  1. linux 的终端字体色和背景色的修改方法(三)
  2. 终端至上!将Vim打造成全新的集成开发环境
  3. linux终端常用快捷键

随机推荐

  1. PHP中数组规范和自定义集合
  2. 带你一分钟了解php的四大特性八大优势(详
  3. PHP SPL 标准库之 Countable
  4. PHP之微服务协程框架Swoft
  5. 微信PC端登录和手机端登录逻辑分享
  6. CI框架简单分页类
  7. 探讨php的垃圾回收机制
  8. 全方位解读php8.0版本优化与改进
  9. 基于PHP实现堆排序原理
  10. 最全的php数组操作方法汇总,让你轻松掌握!