function [mapName, relativePathToMapFile, found] = getBlockHelpMapNameAndPath(block_type)
%This function is for internal use only. It may be removed in the future.

% Returns the mapName and the relative path to the maps file for this
% block_type

% Copyright 2020 The MathWorks, Inc.

blks = {...
    'matlabshared.tracking.internal.DetectionConcatenation'     'shared_detection_concatenation_block';...
    'matlabshared.tracking.internal.TrackConcatenation'         'shared_track_concatenation_block';...
};

relativePathToMapFile = '/fusion/helptargets.map';

% See whether or not the block is a Shared Tracking block
idx = strcmp(block_type, blks(:,1));

if ~any(idx)
    found = false;
    mapName = 'User Defined';
else
    found = true;
    mapName = blks(idx,2);
end