MATLAB Answers

0

Folder Permissions for Matlab/Simulink on Ubuntu 18.04

Asked by Mahmud Khan on 10 Mar 2019
Latest activity Answered by Munish Raj on 19 Mar 2019
Hello,
I am using Ubuntu 18.04 LTS. The username on my machine that Matlab is licensed to doesn't have read/write/modify access to matlabroot. The "root"/admin user has full control/rights/access rights but is not the user Matlab is licensed to.
I am worried that this will start causing problems as I try to install toolboxes or packages like the PSP. It might even prevent me from altering settings while I am using the software.
What would be the most appropriate thing to do? As long as I find a way to grant all permissions (to matlabroot) to my account using the root, would that solve all problems?

  0 Comments

Sign in to comment.

1 Answer

Answer by Munish Raj on 19 Mar 2019

Hello Mahmud
As long at you are able to access the MATLABROOT folder, it should not be a problem.
Even if you do run into issues regarding permissions,
you can always change the owner of the MATLABROOT folder to your current username.
To do this, use the chown command from the a terminal.
However, you might have to use the root user to install new packages, which can leter be accesed by any or the other users.

  0 Comments

Sign in to comment.