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

Jan
Jan 2019년 1월 23일
What is a "switch menu"? What is "having a calc"? Do you want to create a GUI?
João  Azevedo
João Azevedo 2019년 1월 23일
Sorry if I have mistaken you what I want is a menu using Switch where you can choose different cases.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2019년 1월 23일

댓글:

2019년 1월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by