why addpath is not working
    36 ビュー (過去 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!

