folder name starts with +toolboxA what it means

163 ビュー (過去 30 日間)
michael scheinfeild
michael scheinfeild 2016 年 2 月 10 日
コメント済み: Shawn McAdam 2021 年 6 月 23 日
hello i download some package and now inside there are folders and subfolder all starts with + so i cant add all the paths and activate it what it means ?
+toolboxA inside there are : a.m, b.m , +folderX and so on so what is + in begining of folder ?

採用された回答

Jan
Jan 2016 年 2 月 10 日
編集済み: Jan 2016 年 2 月 10 日
The leading + means, that the contents of the folder is a package and has e.g. its own name space. See http://www.mathworks.com/help/matlab/matlab_oop/scoping-classes-with-packages.html
By the way: Instead of waiting for the answer in this forum, you will get a faster solution, if you ask an internet search engine for "Matlab folder +".
  2 件のコメント
Guillaume
Guillaume 2016 年 2 月 10 日
Note that you must not add package folders (those that start with +) to matlab's path. If you do, it's probably going to break things. Package folders are automatically considered to be on the paht by matlab as long as their containing folder is on the path.
Same with @ folders. These are classes, and they must not be added to the path. Only their containing folder.
Shawn McAdam
Shawn McAdam 2021 年 6 月 23 日
Funnily enough, this is the first posts I found with the Google search 'matlab "+" folders'. Also, has Matlab changed how paths work? I included the parent folder for my "+" directory and nothing seems to work.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by