フィルターのクリア

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 Center および File ExchangeSearch Path についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by