How to Install additional toolbox of MATLAB in Ubuntu using Add-ones?

116 views (last 30 days)
I am using Ubuntu 18.04.I am using MATLAB R2019b Version.I want to add Global Optimization toolbox in MATLAB but whenever I try to install any Toolbox, it shows me Unable to write!! I am attaching screenshot of error message. Can anyone suggests me how should I proceed??
Screenshot from 2019-12-12 09-01-12.png
  5 Comments
Wendelin Potz
Wendelin Potz on 10 Sep 2023
Have you tried this ?
sounds like you have the standard "cant install toolboxes" issue...
TLDR: run these commands to fix the issue
sudo chown -R $LOGNAME: /usr/local/MATLAB/your_version_here
sudo chmod u+rwx -R /usr/local/MATLAB/your_version_here
Nicolas
Nicolas on 28 Dec 2023
you must run matlab with sudo to update add-ons.
in a console:
sudo matlab
and then, try again!

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!