checkMethodAccessPermissions
Checks classdef
files to see if any methods use
different access permissions than their superclass (if any). If this is
the case, the class cannot be instantiated and an error will be thrown
indicating this problem. This checks method declarations as well as
implementations thereof in the classdef
file.
Limitations
If the classdef
file could not be analyzed due
to another problem (for example, invalid property definitions), no
violation is reported by this check.
Exemption tag: %@ok<METAP>