Why am I getting a Duplicate directory name from the Applications folder in my MATLAB and MAC os X?

2 vues (au cours des 30 derniers jours)
I am getting:
Warning: Duplicate directory name:
/Applications/MATLAB_R2015b.app/toolbox/stateflow/stateflow
> In restoredefaultpath (line 52)
In MNIST_for_CV (line 2)
why is that happening? How do I fix it?

Réponses (1)

Walter Roberson
Walter Roberson le 4 Fév 2016
Use pathtool from the MATLAB command line, find the second place that directory is listed, remove the entry, Save the path.
  1 commentaire
xu zhang
xu zhang le 29 Sep 2016
I have the same problem. I typed 'pathtool' in the command window, and 'matlabpath' also works to show the paths. But only one directory "/Applications/MATLAB_R2015b.app/toolbox/stateflow/stateflow " shows up. What do you mean by "the second place that directory is listed"? Thanks!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by