checkFunctionEnd
This check verifies whether functions use the end keyword to end the function.
Configurable parameter
- RequireEnd (boolean): If true, all functions must have an
end. If false, functions are not allowed to have anend. The latter prevents nested functions from being created and does not allow methods or local functions to be implemented in a classdef file.
Exemption tag: %@ok<CFEND>