function out = obj_anchor(id,str)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% OBJ_ANCHOR - Create the HTML anchor for an object

%
%   Copyright 1990-2015 The MathWorks, Inc.

    if length(id)>1
        out = sprintf('<a name="refobj%d_%d"> %s </a>',id(1),id(2),str);
    else
        out = sprintf('<a name="refobj%d"> %s </a>',id,str);
    end
