Previous: Inheritance and Aggregation, Up: Object Oriented Programming [Contents][Index]
classdef
ClassesSince version 4.0, Octave has limited support for classdef
classes. In
contrast to the aforementioned classes, called old style classes in this
section, classdef
classes can be defined within a single m-file. Other
innovations of classdef
classes are:
Several features have to be added in future versions of Octave to be fully compatible to MATLAB. An overview of what is missing can be found at https://wiki.octave.org/Classdef.
• Creating a classdef Class: | ||
• Properties: | ||
• Methods: | ||
• Inheritance: | ||
• Value Classes vs. Handle Classes: |