MATLAB Answers

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

2 views (last 30 days)
XI LU
XI LU on 14 Feb 2018
Commented: 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?

Answers (1)

Walter Roberson
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
  4 Comments
XI LU
XI LU on 19 Feb 2018
No, my MATLAB is not working now. I will go to fix it first. Thanks a lot.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!