Read detector from file
detector.read(filename) detector.read(str, 'FromString',true) detector.read(..., 'OptionName', optionValue, ...)