Faq good way to add or remove PLS Toolbox from my path

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Issue:

What's a good way to add or remove PLS_Toolbox from my path?

Possible Solutions:

Occasionally, after you've installed PLS_Toolbox, situations arise where you need to quickly (and conveniently) add or remove PLS_Toolbox folders from your Matlab path. For example, The MathWorks continues to develop their version of the DatasSet Object in such a way that you increasingly need to remove PLS_Toolbox from the path in order to work with Stats Toolbox functions. These directions explain how to remove PLS_Toolbox, add it again, as well as move it to a different part of the path:


Removing PLS_Toolbox from the Matlab Path:

  1. Remove folders from Matlab path:
     >> evriuninstall pathonly
  2. Clear objects (classes). This is optional but must be done in the cases where the DataSet Object is in use (NOTE: this will clear your workspace):
     >> clear classes

Adding PLS_Toolbox folders to the path:

  1. With the PLS_Toolbox main folder as the Matlab current directory:
     >> setpath
  2. Clear objects (classes). This is optional but must be done in the cases where the DataSet Object is in use (NOTE: this will clear your workspace):
     >> clear classes

Moving the PLS_Toolbox folders to the top or bottom of the path:

In some cases, simply moving the PLS_Toolbox folders to either the top or the bottom of the path will solve a problem. To do this, see the evrimovepath function.

>> evrimovepath('top')
>> evrimovepath('bottom')


Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com