function embhelp(blk)
%EMBHELP(BLK) Embedded Matrix Library Block Help Callback
%   Points web browser to help page corresponding to the block where the
%   help button was clicked.
%
%   FOR INTERNAL USE ONLY -- This feature is intentionally undocumented.
%   Its behavior may change, or it may be removed in a future release. 

% Copyright 2019 The MathWorks, Inc.

mapfile_url = fullfile(docroot,'toolbox','fixedpoint','fixedpoint.map');

blkType = get_param(blk,'MaskType');
% For simplicity, the index used for Helpview will be the block name with
% spaces and new lines replaced by underscores
blkIndex = regexprep(blkType,'\W','_');
% "helpview" fails silently, and will not open documentation browser if the
% CSH tags are not appropriately setup. 
helpview(mapfile_url, blkIndex);

end