Performance in object-oriented matlab code

A very simple example to demonstrate an observation of mine regarding the use of classes in matlab.

Download
Download

You are now following this Submission

Cite As

Dimitrios Korkinof (2026). Performance in object-oriented matlab code (https://in.mathworks.com/matlabcentral/fileexchange/41349-performance-in-object-oriented-matlab-code), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Taking into consideration the accurate comments below, I have added two examples with "handle classes" and corrected a small mistake that resulted in the class member data not actually being updated.

Download
1.0.0

Download