Is there a difference in performance using the class-folder vs single file approach to define a MATLAB class?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 10 Aug 2017
Answered: MathWorks Support Team
on 10 Aug 2017
Is there a difference in performance using the class-folder vs single file approach to define a MATLAB class?
Accepted Answer
MathWorks Support Team
on 10 Aug 2017
In general there is not a difference in performance between the class-folder and single file approach. When using MATLAB classes of either style, you may perceive a "first-time" cost when you first use the class in a MATLAB session, because the class is loaded on demand. The first-time cost may differ slightly between styles depending on your class, but after the class is loaded, there is not a difference in performance of methods.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!