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

110 ビュー (過去 30 日間)
Hiren Vora
Hiren Vora 2019 年 12 月 12 日
回答済み: Aditya 約22時間 前
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
  6 件のコメント
Nicolas
Nicolas 2023 年 12 月 28 日
you must run matlab with sudo to update add-ons.
in a console:
sudo matlab
and then, try again!
Noah Curran
Noah Curran 2024 年 7 月 31 日
編集済み: Noah Curran 2024 年 7 月 31 日
Wendelin's solution worked like a charm. Nicolas's requires giving a license to the root user which I believe is inadvisible, though it should also work.

サインインしてコメントする。

回答 (1 件)

Aditya
Aditya 約22時間 前
The error message you're seeing is likely due to insufficient write permissions for the directory
'/usr/local/MATLAB/R2019b'. This is a common issue when trying to modify system directories as a non-root user. Here's how you can resolve it:
open a terminal and run the following command to change the ownership of the directory to your user account:
sudo chown -R yourusername:yourusername /usr/local/MATLAB/R2019b
Replace the 'yourusername' with your actual ubuntu user name.
You can also refer to the similar MATLAB Answers post:
Hope this helps!

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by