How to create a display menu

2 visualizzazioni (ultimi 30 giorni)
iran jamm
iran jamm il 6 Apr 2020
Commentato: Geoff Hayes il 6 Apr 2020
I need to create a function that inputs the loop number (float, scalar). It should first clear the screen (unless it is the first loop) then it should show, using fprintf, in a formatted way the menu for the program (Change Options, View Options, Show Cards, and ExitGame). Then the function asks the user for which option they want (string) and outputs it from the function.
  1 Commento
Geoff Hayes
Geoff Hayes il 6 Apr 2020
This sounds like homework...so what have you tried so far? Have you created your function with the appropriate input parameters?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by