Effacer les filtres
Effacer les filtres

why is the 'menu' isn't working,it shows up only when I stop roading when

3 vues (au cours des 30 derniers jours)
James
James le 12 Mar 2024
Commenté : Voss le 13 Avr 2024
color = menu('pick a colour','red','blue','yellow')
  3 commentaires
Voss
Voss le 13 Avr 2024
The same thing happens to me when I run menu on MATLAB Mobile.
You can use input instead:
color = input('pick a colour (1=red, 2=blue, 3=yellow): ');
and then enter 1, 2, or 3.

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by