| |
ID | FCNS-19 |
Title | The input and output declarations and implementations for methods should match. |
Priority | Mandatory |
Severity level | 2 |
Description | All inputs and outputs that are declared in a classdef file, for a method, need to be implemented as well, and vice versa. |
Rationale | A mismatch between input and output declarations and implementations, is very likely a programming error. |
methods(Static)
out1 = getFolder(in2, in1)
end
function [reportsFolder, isOk] = getFolder(in1, in2)
....
end
methods(Static)
[reportsFolder, isOk] = getFolder(in1, in2)
end
function [reportsFolder, isOk] = getFolder(in1, in2)
....
end