Folder Permissions for Matlab/Simulink on Ubuntu 18.04

23 views (last 30 days)
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?

Answers (1)

Munish Raj
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!