Simulink® requires the
XKEYBOARD extension to detect the keyboard
layout that is currently active. Some older X servers do not support this extension. If
this extension is absent or disabled, then Simulink assumes a default layout. When the default layout does not match the
keyboard layout, some keys might not produce the expected characters.
Suppose you are using a Linux® based computer with a German keyboard. Without the
XKEYBOARD extension, Simulink uses the default layout, which is English, and can therefore produce
incorrect characters. MATLAB® correctly recognizes the keyboard as German.
If you encounter this issue, try enabling the
or use an X server that supports this extension.