function setscribecontextmenu(h, hCM)
%SETSCRIBECONTEXTMENU  Set the scribe uicontextmenu object

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.1 $  $Date: 2000/08/01 22:10:24 $

if isempty(findprop(handle(h), 'ScribeUIContextMenu'))
    p = schema.prop(handle(h), 'ScribeUIContextMenu','MATLAB array');
    p.AccessFlags.Serialize = 'off';
end
set(handle(h), 'ScribeUIContextMenu', hCM);
