La commande "input" ne fonctionne pas sur mon Mac, impossible de saisir une valeur numérique au clavier. Cela fonctionnait sur une version antérieure.

1 vue (au cours des 30 derniers jours)
entree1='ecrire la veleur de x';
x = input(entree1);
  2 commentaires
Kshittiz
Kshittiz le 25 Sep 2023
Hey David,
Can you please let me know the version of MATLAB being used by you along with the OS version too?
David
David le 25 Sep 2023
Hello,
Mac OS is Ventura 13.5.1
Matlab is R2022a Update 2 (May 2022)
Hope it will help
Best
David

Connectez-vous pour commenter.

Réponses (1)

Kshittiz
Kshittiz le 25 Sep 2023
Hey David,
I understand that you are unable to enter numerical values using the keyboard on your macOS Ventura while using the “input” command.
You can refer to the following MATLAB Answers threads which provides guidance on fixing this issue:
  1. https://in.mathworks.com/matlabcentral/answers/646288-why-does-keyboard-input-suddenly-stop-working-on-mac
  2. https://in.mathworks.com/matlabcentral/answers/286606-problem-with-input-command
I hope this will assist you in resolving the issue.
Thanks,
Kshittiz

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!