why addpath is not working
    37 次查看(过去 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!

