MATLAB: Am I unable to use the ‘^’ character using a Spanish (Latin American) keyboard

altgramericankeykeyboardlatinMATLABspanish

I cannot type the "^" character using the key sequence "Alt+9+4" on Spanish (Latin American) keyboard. I do not experience this problem on the US keyboard.

Best Answer

There is a bug in the 1.5 Java VM when using the "Alt+9+4" key sequence to type a "^" character. To work around this issue, download the attached ZIP-file. Here are the required steps:
1. Copy the patchmwswing.zip file to:
$MATLAB\java
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB command prompt.)
2. Run MATLAB
3. Download the attached file by issuing the following command at the MATLAB prompt:
cd([matlabroot '\java'])
unzip('patchmwswing.zip')
3. Quit MATLAB.
If the steps were done correctly, you will have created files in the directory:
$MATLABT\java\patch\com\mathwork\mwswing
After restarting MATLAB, you should be able to use the AltGr key combinations including "Alt-9-4" in the areas that previously did not work.