Home > . > update_menu.m

update_menu

PURPOSE ^

'update_menu': find an input string in a menu, add it to the menu at the penultimate position if it does not exist

SYNOPSIS ^

function menu_str=update_menu(handle,strinput)

DESCRIPTION ^

'update_menu': find an input string in a menu, add it to the menu at the penultimate position if it does not exist
-----------------------------------------------
 function menu_str=update_menu(handle,strinput)

 OUTPUT:
 menu_str: new menu; cell of strings

 INPUT:
 handle: handle of the menu to modify (listbox uicontrol)
 strinput: char string to detect or add in the menu

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 10-Mar-2010 20:42:36 by m2html © 2003