why addpath is not working
조회 수: 43 (최근 30일)
이전 댓글 표시
why addpath is not working and I get the error
addpath ('/Users/maherheal/Desktop/github_repo/@tree')
Warning: Method directories not allowed in MATLAB path: /Users/maherheal/Desktop/github_repo/@tree
> In path (line 109)
In addpath (line 96)
kindly see the attachment for the code.
댓글 수: 0
채택된 답변
Steven Lord
2022년 2월 26일
You cannot add class directories (whose names start with @) to the MATLAB path. The classes in those directories will be accessible to MATLAB if the parent directory of that class directory is on the path.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!