Unable to install add-on

223 views (last 30 days)
Sathwik Prathi
Sathwik Prathi on 5 Sep 2019
Commented: XIYANA VEROSKA on 30 Apr 2023
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 Comment
John Bushnell
John Bushnell on 30 Nov 2019
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.

Sign in to comment.

Answers (1)

Shivam Kumar Singh
Shivam Kumar Singh on 15 Jun 2020
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.
  1 Comment
XIYANA VEROSKA
XIYANA VEROSKA on 30 Apr 2023
It worked for macos ventura, macbook pro m2

Sign in to comment.

Categories

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

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!