markerIncluded.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function checks if a marker is in a list of marker names
%
% (array of string, string) -> boolean
% if marker is in markerNames, return true
function output = markerIncluded(markerNames, marker)
for i=1:length(markerNames)
if(strcmp(markerNames{i}, marker))
output=true;
return
end
end
output=false;
end