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. 如何制作高大上的图表
  2. 从Excel的数据类型说Python
  3. 数据分析,除了Excel透视表,还有什么工具?
  4. 列表是个什么鬼?
  5. 如何培养数据分析的思维?
  6. 新手如何学习SQL
  7. 2019年终总结
  8. Python数据结构:字典那些事儿
  9. 你真的了解参数估计和假设检验吗?
  10. Python数据结构:神奇的序列