필터 지우기
필터 지우기

why addpath is not working

조회 수: 43 (최근 30일)
Maher
Maher 2022년 2월 26일
편집: Maher 2022년 2월 27일
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.

채택된 답변

Steven Lord
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.
  댓글 수: 1
Maher
Maher 2022년 2월 27일
편집: Maher 2022년 2월 27일
Thanks very much. That perfectly solves the problem.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by