Cannot type quotation marks or carets (', ", ^)

My system runs on Ubuntu 22.04.2 LTS and I have no problem whatsoever with typing these special characters in any application other than Matlab. Only my Matlab installation (version R2022b) refuses to let me type quotation marks and carets.
I've checked Matlab's preferences and there don't seem to be any settings that influence this. I've tried different keyboard layouts, the English (US, alt. intl.) and English (US, intl., with dead keys) but this doesn't change anything.

4 comentarios

Matt J
Matt J el 10 de Mayo de 2023
Editada: Matt J el 10 de Mayo de 2023
Do you get a blank character at the command line when you try to type one of these characters? What happens if you attempt to execute a simple command with a caret, e.g.,
2^2
ans = 4
Rick de Wolf
Rick de Wolf el 10 de Mayo de 2023
Yes, I get a blank character that seems to be a space.
I can execute commands containing carets and quotation marks just fine if I copy-paste them into Matlab. They are displayed just like you would expect them to be displayed as well, so the problem is really just the typing of the characters.
Matt J
Matt J el 10 de Mayo de 2023
But what happens when you try to type in and execute 2^2 at the command line. Does it produce an error message? Maybe the caret is just hidden for some reason.
Rick de Wolf
Rick de Wolf el 10 de Mayo de 2023
@Matt J what happens is the same thing as what happens in the editor. When I try to type the characters all I get is a blank space. When I copy-paste the characters I see them exactly the way I should, and the code executes just fine too.
@Cris LaPierre thanks, I found that post after I'd posted my question. I'm using that workaround at the moment, but I really hope that there's an actual fix out there.

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 10 de Mayo de 2023
Movida: Cris LaPierre el 10 de Mayo de 2023

0 votos

By any chance, are you using an international keyboard? Here's a related thread with at least one potential workaround.

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 10 de Mayo de 2023

Movida:

el 10 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by