Line 164 of set targetmarkers.m fails because variable "clear_existing_targets_on_match" was not defined.
_if clear_existing_targets_onmatch && isfield(signal.event,'target') && ~isempty([signal.event.target])
I suspect that this is because the arg_define specified earlier in the file was not successful for the variable: clear_existing_targets_on_match.
Line 164 of set targetmarkers.m fails because variable "clear_existing_targets_on_match" was not defined. _if clear_existing_targets_onmatch && isfield(signal.event,'target') && ~isempty([signal.event.target])
I suspect that this is because the arg_define specified earlier in the file was not successful for the variable: clear_existing_targets_on_match.
I'm not sure how to fix it.