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 回表示 (過去 30 日間)
David
David 2023 年 9 月 21 日
回答済み: Kshittiz 2023 年 9 月 25 日
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!