Borrar filtros
Borrar filtros

Mac Studio (Ventura 13.1) computer: keyboard failure in Matlab R2022b Editor and Command windows

7 visualizaciones (últimos 30 días)
A few days ago I installed Matlab 2022b on a Mac Studio computer configured as follows:
Chips: Apple M1 Ultra 20 cores;
Memory: 128GB;
HD: 4TB
The installation did not encounter any difficulties.
Entered the Editor environment, I found the spacebar has no effect on the script. Furthermore, trying to open the drop-down menu relating to the "New" item, the command window is invaded by errors, probably coming from Java, of the following type:
java.lang.NullPointerException
Then, I downloaded and installed the latest Java versions and restarted the system, but to no avail.
I am grateful to anyone who can help me solve this problem.
Thank you

Respuesta aceptada

Aashita Dutta
Aashita Dutta el 11 de En. de 2023
Hello Alessandro,
I understand that you are facing issues with Keyboard interaction in MATLAB R2022b in MacOS and getting errors related to java- NullPointerException.
Please refer to the following links that can help resolve the issue:
OR
OR
OR
If you still experience issues, please contact MathWorks Support: http://www.mathworks.com/support/contact_us/
Hope this helps!
  1 comentario
Alessandro Passeri
Alessandro Passeri el 12 de En. de 2023
Hello Aashita,
I followed plenty of suggestions proposed in your message. Indeed, now the correlation between keyboard input and typed character both in the command window and in the MATLAB editor looks correct.
Unfortunately, the torrent of errors of Java origin remains unchanged when you open the drop-down menu relating to the "New", "Open" and "Save" functions. Nonetheless, it appears that these bug reports do not affect the ability to perform any of the functions contained therein.
Unfortunately, the execution of Matlab is interrupted, requiring a forced exit with loss of all the data contained in the WorkSpace, trying to execute the command
answer = questdlg('ok?','Control Window','Yes','No','Yes')
In case the answer is 'Yes', the variable "answer" contains the correct string. If, on the other hand, the answer is 'No', or the Return key is pressed, the system hangs and it is necessary to force the exit killing the Matlab process (that results no more responding to the operating system) to restore the working environment.
It should be noticed that this appens on a M1 based Mac Studio computer running under Ventura 13.1 operating system: the same command scheduled on Intel based iMac (same operating system and Matlab version) works properly.
Any further observation or suggestion will be greatly appeciated.
Alessandro

Iniciar sesión para comentar.

Más respuestas (1)

Alessandro Passeri
Alessandro Passeri el 13 de En. de 2023
Hello Aashita,
I would like to apologize for a deep inaccuracy that I expressed in my previous response to your suggestions.
In fact, I had not correctly followed the link n°1 you indicated. By repeating that procedure, and in particular by deleting both the file
~/Library/Preferences/com.apple.universalaccess.plist
that, above all, the
~/Library/Preferences/com.apple.universalaccessAuthWarning.plist
file, Matlab works fine, without showing any of the errors and malfunctions I reported.
Thank you for your help
Alessandro

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by