function [mapName, relativePathToMapFile, found] = getBlockHelpMapNameAndPath(block_type)
% Returns the mapName and the relative path to the maps file for this block_type
% This is a private function,not to be used directly.

% Copyright 2015 The MathWorks, Inc.
    
    blks = {...
    'FromSpreadsheet'             'fromspreadsheet'     ;...
    };
relativePathToMapFile = '/simulink/helptargets.map';
found = false;
% See whether or not the block fromspreadsheet block is a core or built-in
i = strmatch(block_type, blks(:,1), 'exact');

if isempty(i)
    mapName = 'User Defined';
else
    found = true;
    mapName = blks(i,2);
end


