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.

조회 수: 3 (최근 30일)
entree1='ecrire la veleur de x';
x = input(entree1);
  댓글 수: 2
Kshittiz
Kshittiz 2023년 9월 25일
Hey David,
Can you please let me know the version of MATLAB being used by you along with the OS version too?
David
David 2023년 9월 25일
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

Community Treasure Hunt

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

Start Hunting!