classdef (Abstract) ParentClass
methods (Abstract = true, Static = true)
This doesn't do what you think. Normally Static methods are called using the name of the class that defines them, though they can be called on class instances like non-Static methods. Since doC is Static and accepts no inputs, it can only be called via a class name.
Nothing in the code you've written makes it possible to call any class methods doA or doB. They are not called as Static methods with a class name, nor do they accept any inputs. So there's nothing telling MATLAB it should call the methods of either ParentClass or ChildClass. Unless there are functions doA and doB (not methods) ParentClass.doC() would error.
If you use per isakson's approach, doA and doB probably shouldn't be Static in either ParentClass or ChildClass.
Best Answer