Closed rlivings39 closed 5 years ago
Add support for function argument validation
function [xCell,yCell,optionCell] = fRepeat(x,y,option) arguments (Repeating) x double y double option {mustBeMember(option,["linear","cubic"])} end % Function code % Return cell arrays xCell = x; yCell = y; optionCell = option; end
Fixed by #14
Add support for function argument validation