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.
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 Exchange에서 Environment 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