exist('api') shows incorrectly have api directory
3 次查看(过去 30 天)
显示 更早的评论
exist('api','dir') shows I have api dir while I do not have. Why ? (I have MatlabR2010a on WIN7)
0 个评论
回答(1 个)
Walter Roberson
2012-10-13
Notice this part of the documentation:
If a file or folder is not on the search path, then name must specify either a full pathname, a partial pathname relative to MATLABPATH, a partial pathname relative to your current folder, or the file or folder must reside in your current working folder.
This suggests that not just the current directory is checked.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!