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.

entree1='ecrire la veleur de x';
x = input(entree1);

2 Comments

Hey David,
Can you please let me know the version of MATLAB being used by you along with the OS version too?
Hello,
Mac OS is Ventura 13.5.1
Matlab is R2022a Update 2 (May 2022)
Hope it will help
Best
David

Sign in to comment.

Answers (1)

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

Products

Release

R2022a

Tags

Asked:

on 21 Sep 2023

Answered:

on 25 Sep 2023

Community Treasure Hunt

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

Start Hunting!