- https://www.mathworks.com/help/matlab/matlab_oop/organizing-classes-in-folders.html
- https://www.mathworks.com/help/matlab/matlab_prog/private-functions.html
Calling a class folder (@class) places inside a private folder
조회 수: 8 (최근 30일)
이전 댓글 표시
I have placed a class folder (named lets say @class) inside a private folder. I am able to call other functions(placed inside the private folder) but when i call for the functions form inside the @Class folder(class.plot) then it throws error.
Is it because of this:
"No Class Definitions in Private Folders
You cannot put class definitions (classdef file) in private folders because doing so would not meet the requirements for class or path folders "
Is there any way i can access those functions in the @classfolder?
The issue is faced in both 19b and 20b as well.
댓글 수: 0
답변 (1개)
Prabhan Purwar
2020년 10월 24일
편집: Prabhan Purwar
2020년 10월 24일
Hey,
As you have already mentioned in error, MATLAB doesn't support putting class definition inside a private folder. For more insights kindly have a look at the following links:
Thanks
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!