Why am I getting a Duplicate directory name from the Applications folder in my MATLAB and MAC os X?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Walter Roberson
2016-2-4
Use pathtool from the MATLAB command line, find the second place that directory is listed, remove the entry, Save the path.
1 个评论
xu zhang
2016-9-29
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!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!