How can i Repeat a switch menu

2 views (last 30 days)
João  Azevedo
João Azevedo on 23 Jan 2019
Commented: João Azevedo on 23 Jan 2019
How can i repeat a switch menu after user input confirmed that he wants to do other operation, like per say:
If you have a calc and asked the user for 2 numbers at the beggining and have a menu with all the ops using switch sum, subtraction and multiplication.
After the uheser uses one hes asked if he wants to do other operation where the menu should be displayed, but you should use the same numbers inputed before at the beginning.
Thank you in advanced.
  2 Comments
Jan
Jan on 23 Jan 2019
What is a "switch menu"? What is "having a calc"? Do you want to create a GUI?
João  Azevedo
João Azevedo on 23 Jan 2019
Sorry if I have mistaken you what I want is a menu using Switch where you can choose different cases.

Sign in to comment.

Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!