[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/lang]

menu

(/tools/hpmatlab/toolbox/matlab/lang/menu.m)


Function Synopsis

k = menu(s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,...

Help text

MENU	Generate a menu of choices for user input.
	K = MENU('Choose a color','Red','Blue','Green') displays on
	the screen:

	----- Choose a color -----

	   1) Red
	   2) Blue
	   3) Green

	   Select a menu number: 

	The number entered by the user in response to the prompt is
	returned.  On machines that support it, the local menu system
	is used.  The maximum number of menu items is 32.

	See also UIMENU.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON