Since version 4.0, Octave has limited support for
classdef classes. In
contrast to the aforementioned classes, called old style classes in this
classdef classes can be defined within a single m-file. Other
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.