Folder names in MATLAB project

I downloaded some MATLAB project from the file exchange which consist of some m-files in the main directory and other m-files in several subdirectories.
The names of the folder in the projects are often starting with an "@" or a "+". Why is that? Further the appearance of the folders is different to folders which doesn't start with a special character. It seems as folders with "@" or "+" are added in the MATLAB path.
Is this the reason for naming the folders like that? Where can I find a documentation about that?
I'm looking forward to your answers!

 採用された回答

Honglei Chen
Honglei Chen 2012 年 3 月 15 日

2 投票

Those are folders for MATLAB class files. Take a look at this documentation
Also the entire MATLAB object oriented programming guide

3 件のコメント

Menno van Zutphen
Menno van Zutphen 2022 年 2 月 20 日
Could anyone link to documentation describing the +-package and @-class naming conventions or documentation on Matlab OOP in general?
These links are expired and I am looking for a place to learn about these concepts.
Menno van Zutphen
Menno van Zutphen 2022 年 2 月 20 日
Thomas
Thomas 2025 年 11 月 24 日
The "+" directory convention is for a so-called namespace. See following page: https://nl.mathworks.com/help/matlab/matlab_oop/namespaces.html

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

質問済み:

D.
2012 年 3 月 15 日

コメント済み:

2025 年 11 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by