Skip to content
Snippets Groups Projects
Verified Commit f36274d6 authored by leprob001's avatar leprob001
Browse files

feat: Allowed an empty reference start and/or end positions

parent f4daa348
No related branches found
No related tags found
No related merge requests found
358
359
......@@ -15,6 +15,10 @@ end
function [success, message] = validateReferencePosition(position)
success = false;
message = '';
if isempty(position) | isempty(position{1})
success = true;
return
end
% transform to cell array
referencePosition = cellfun(@(x) strsplit(x), position, 'UniformOutput', false);
% check size of every cell in the array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment