I am using CTRL + ALT to write } , however in 2024b this does not work anymore.
I am forced to use ALT GR.
I found no way to change that in the options. In other programs it works perfectly fine.
Is there a way for me to return this function as it was?

5 Kommentare

Swastik Sarkar
Swastik Sarkar am 16 Dez. 2024
I haven't been able to use CTRL+ALT to type '}' in R2023b or R2024a. Could you explain how this was possible in versions prior to R2024b?
Please mention the version you were able to use this functionality.
Alexander Szambor
Alexander Szambor am 19 Dez. 2024
CTRL+ALT+the "0" Key above "O" and "P" gives a "}" on European(?) Keyboards.
This works in the command window.
I found the issue, the same combination in the editor is a Keyboard shortcut to reset the zoom to 100%.
This shortcut is not listed under the Keyboard shortcuts in the Preferences, so i can not remove it...
Despite disabling the reset zoom keyboard shortcut, Ctrl + Alt + 0 still resets the zoom to 100% on R2024b. However, in R2024a, executing the following code disables this shortcut:
s = settings;
s.matlab.editor.displaysettings.DisableResetZoomKeyboardShortcut.TemporaryValue = 1;
For more information, refer the following documentation:
Alexander Szambor
Alexander Szambor am 19 Dez. 2024
Thank you for the solution! It worked :)
Alexander Szambor
Alexander Szambor am 19 Dez. 2024
I could not mark that as a solution, i repeated your solution in the comment below.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Swastik Sarkar
Swastik Sarkar am 20 Dez. 2024

1 Stimme

Ctrl + Alt + 0 resets the zoom to 100%. However, executing the following code disables this shortcut:
s = settings;
s.matlab.editor.displaysettings.DisableResetZoomKeyboardShortcut.TemporaryValue = 1;
For more information, refer the following documentation:

1 Kommentar

Alexander Szambor
Alexander Szambor am 6 Jan. 2025
Bearbeitet: Alexander Szambor am 6 Jan. 2025
The .TemporatyValue gets reset on restart.
For me the PersonalValue worked upon restarting the Program.
s = settings;
s.matlab.editor.displaysettings.DisableResetZoomKeyboardShortcut.PersonalValue=1;

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by