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

15 views (last 30 days)
Rick de Wolf
Rick de Wolf on 10 May 2023
Moved: Cris LaPierre on 10 May 2023
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 Comments
Matt J
Matt J on 10 May 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 on 10 May 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.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 10 May 2023
Moved: Cris LaPierre on 10 May 2023
By any chance, are you using an international keyboard? Here's a related thread with at least one potential workaround.

Categories

Find more on Desktop in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!