checkMethodsInClassdef

Check if all methods that are declared in a classdef file are also implemented, and that the declaration is the same as the implementation. Also check that the declaration is the same as the implementation (i.e. do not declare varargin but have a method with (x,y,x) input arguments). Check that all methods that have an implementation in a seperate file are also declared.

Configurable parameters

  • AllowDifferentInputOutputNames (boolean): Set to true to have CC4M allow for differences in method input and output names between method declaration and implementation. By default, this parameter is set to false.

  • AllowVararginout(boolean): Set to true to have CC4M allow the use of varargin/varargout in method input and output declaration and implementation.

Exemption tag: %@ok<MDAMI>