MATLAB Answers


Why I receive the error -9 when I install PLS toolbox?

Asked by XI LU
on 14 Feb 2018
Latest activity Commented on by XI LU
on 19 Feb 2018
I CAN launch my Matlab. But during the installation of PLS toolbox, the toolbox need to start Matlab and then I keep receiving error -9. Why would this happen?


Sign in to comment.


1 Answer

Answer by Walter Roberson
on 14 Feb 2018

If this is happening during the installation of the toolbox but your MATLAB is otherwise running normally then I predict that you are running os-x or Linux and that the installation of the pls toolbox involves sudo. Any work done while sudo is running under username root not under your own username and that includes running MATLAB, which is authorized only for your username and not for the name root


Show 1 older comment
The only thing that comes to mind at the moment is that possibly the toolbox is asking to use a different license file.
Would it be possible for you to take a screen shot of the error 9?
Also, to check: is it correct that the error 9 you get is only during the process of installing PLS, and that otherwise your MATLAB is working?
Here I attach the screen shot of the error. And yes, the MATLAB is working and I can only get the error during the process of installing PLS.
No, my MATLAB is not working now. I will go to fix it first. Thanks a lot.

Sign in to comment.