exist('api') shows incorrectly have api directory

조회 수: 3 (최근 30일)
Arto
Arto 2012년 10월 13일
exist('api','dir') shows I have api dir while I do not have. Why ? (I have MatlabR2010a on WIN7)

답변 (1개)

Walter Roberson
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.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by