Class methods in "private" subfolder
Show older comments
The documentation on classes seems to suggest I can place private functions in a private folder:
But the explanation there is not clear enough to me. I kindof assumed if I created a folder named "private" within my "@class_name" folder that I could put function definitions corresponding to (Access = private) functions in there.
If anyone could clarify it would be greatly appreciated as my class currently has a lot of private and public methods and it might be good to organise them a bit.
1 Comment
Mario Malic
on 3 Jan 2023
Hey,
Accepted Answer
More Answers (0)
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!