Questions About MENU Function

Asked by Kent about 10 hours ago
Latest activity Answered by Walter Roberson about 9 hours ago

Hi there,

I am trying to create a menu and ask a question, wait for user's input and then use the input for further calculations.

I have 3 questions and each question only requires user to answer 'YES' or 'NO'. Using MATLAB's MENU function, I am able to do what I want. However, I would like to know if these 3 questions can be shown in one single window and ask for user's response instead of opening a new window after each question is answered.

Thanks, Kent

0 Comments

Kent

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson about 9 hours ago

Not using "menu". Yes using inputdlg(): see the example at http://www.mathworks.com/help/matlab/ref/inputdlg.html

Note: inputdlg() is a graphics function only, whereas menu() will use graphics if available but will use character text if graphics is not available.

0 Comments

Walter Roberson

Contact us