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

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

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

답변 (1개)

Kshittiz
Kshittiz 2023년 9월 25일
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

제품

릴리스

R2022a

태그

질문:

2023년 9월 21일

답변:

2023년 9월 25일

Community Treasure Hunt

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

Start Hunting!