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!

 Réponse acceptée

Honglei Chen
Honglei Chen le 15 Mar 2012

2 votes

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

3 commentaires

Menno van Zutphen
Menno van Zutphen le 20 Fév 2022
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.
Thomas
Thomas le 24 Nov 2025
The "+" directory convention is for a so-called namespace. See following page: https://nl.mathworks.com/help/matlab/matlab_oop/namespaces.html

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by