addmenuseparator

Inserts a separator in the given menu in the Activate user interface. addmenuseparator is only available in the Activate GUI.

Syntax

addmenuseparator(uiPopupMenu)

Inputs

uiPopupMenu
The handle of the menu.
Type: class

Examples

Insert a separator in the given menu:
pm=addribbonmenu('Test'); % create a 'Test' ribbon page as menu
ab = addmenuitem(pm,'Show Test Label','Show Test','HandleTest','','');
addmenuseparator(pm); % add a menu separator
ac = addmenuitem('Test','Show Test Label 1', 'Show Test 1','HandleTest_1','','');