Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels