Unable to install add-on

64 次查看(过去 30 天)
Sathwik Prathi
Sathwik Prathi 2019-9-5
评论: dongha park 2024-6-24,0:53
First when i tried adding a package(simscape) in MATLAB R2019a, error "unable to access /usr/local/MATLAB/R2019a" came. Then I chmod 777 the folder. Now I can proceed a few steps till the download screen when it downloads upto 40% and fails. This is the error in the terminal.
Exception in thread "Thread-12": java.lang.NullPointerException
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.c(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.b(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.a(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.b.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
  1 个评论
John Bushnell
John Bushnell 2019-11-30
I am running Matlab R2019a on Ubuntu 18.04 with mate desktop. I am also accessing the machine remotely using x2go. Whenever I exit out of the Matlab GUI I get this exact same error message in the terminal where I started matlab in the remote desktop, every single time. So it seems to happen during the normal shutdown of the matlab session. I see the same error in both Windows and Linux x2go clients.
I just tested this directly on the server, and it shows the same error on exit.
My guess would be that this is not the cause of your Matlab session dying, but just an error it throws when it exits, just like I am seeing here.

请先登录,再进行评论。

回答(1 个)

Shivam Kumar Singh
Shivam Kumar Singh 2020-6-15
To install new toolboxes, rerun the MATLAB installer to add any additional products not currently included in your installation..
To download the MATLAB installer, please follow the steps below:
  • Go to the MathWorks downloads page: https://www.mathworks.com/downloads/
  • Click on the blue button for the latest release or on the link beneath for any other release.
  • Log in to your MathWorks Account if you are not already logged in.
  • If you clicked on the link to download any other release, a list with older available releases will be displayed on the right. Click on the desired release.
  • Select the operating system that you are using.
  • The download will begin after you select your operating system.
Before running the MATLAB installer to install an additional toolbox, please keep in mind:
  • Toolboxes must match the release of MATLAB they are installed into, e.g. you cannot install a toolbox for MATLAB R2019b into MATLAB R2019a.
  • MATLAB must be closed in order to run the installer.
  • The MATLAB installer will install new toolboxes in the default MATLAB installation folder. If you installed MATLAB somewhere other than the default folder, you will need to select the folder where MATLAB is installed when prompted for the MATLAB installation location.
  • During installation, you may be prompted to overwrite any existing products. If prompted, opt to skip installation of any existing products.
  • After installation, the activation process will begin. You need to activate your product in order to use them.
  2 个评论
XIYANA VEROSKA
XIYANA VEROSKA 2023-4-30
It worked for macos ventura, macbook pro m2
dongha park
dongha park 2024-6-24,0:53
I had a similar problem that MATLAB keep fails to install the add-on. well this solution works! thanks a lot

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by